mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-27 04:48:21 +01:00
Typo.
This commit is contained in:
parent
2bb1bc7227
commit
28f0e4a3fb
@ -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…
Reference in New Issue
Block a user