Typo.
This commit is contained in:
parent
2bb1bc7227
commit
28f0e4a3fb
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ Fortunately, all these problems are very easy to solve and that's what we do in
|
||||||
|
|
||||||
== Introducing the {{protect}} factory ==
|
== Introducing the {{protect}} factory ==
|
||||||
|
|
||||||
We used the {{pcall}} function to shield the user from errors that could be raised by the underlying implementation. Instead of directly using {{pcall}} (and thus duplicating code) every time we prefer to a factory that does the same job:
|
We used the {{pcall}} function to shield the user from errors that could be raised by the underlying implementation. Instead of directly using {{pcall}} (and thus duplicating code) every time we prefer a factory that does the same job:
|
||||||
{{{
|
{{{
|
||||||
local function pack(ok, ...)
|
local function pack(ok, ...)
|
||||||
return ok, arg
|
return ok, arg
|
||||||
|
|
Loading…
Add table
Reference in a new issue