From cc4500b9a6c3b457a2e7c6743ef6fe8a1b592771 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 4 Nov 2021 00:35:34 -0400 Subject: [PATCH] spelling: succeeds --- docs/_pages/library.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_pages/library.md b/docs/_pages/library.md index 28f440cd..02615a5f 100644 --- a/docs/_pages/library.md +++ b/docs/_pages/library.md @@ -146,7 +146,7 @@ Returns the triple (generator, state, nil) that can be used to traverse the tabl function pcall(f: function, args: ...any): (boolean, ...any) ``` -Calls function `f` with parameters `args`. If the function suceeds, returns `true` followed by all return values of `f`. If the function raises an error, returns `false` followed by the error object. +Calls function `f` with parameters `args`. If the function succeeds, returns `true` followed by all return values of `f`. If the function raises an error, returns `false` followed by the error object. Note that `f` can yield, which results in the entire coroutine yielding as well. ```