Skip to content

Commit eab5694

Browse files
committed
doc: fixed a typo in the doc for coroutine.yield(). thanks Ruoshan Huang for the report.
1 parent f7db5fd commit eab5694

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5882,7 +5882,7 @@ This API was first introduced in the `v0.6.0` release.
58825882

58835883
coroutine.yield
58845884
---------------
5885-
**syntax:** *... = coroutine.yield(co, ...)*
5885+
**syntax:** *... = coroutine.yield(...)*
58865886

58875887
**context:** *rewrite_by_lua*, access_by_lua*, content_by_lua*, init_by_lua*, ngx.timer.**
58885888

doc/HttpLuaModule.wiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4993,7 +4993,7 @@ This API was first usable in the context of [[#init_by_lua|init_by_lua*]] since
49934993
This API was first introduced in the <code>v0.6.0</code> release.
49944994
49954995
== coroutine.yield ==
4996-
'''syntax:''' ''... = coroutine.yield(co, ...)''
4996+
'''syntax:''' ''... = coroutine.yield(...)''
49974997
49984998
'''context:''' ''rewrite_by_lua*, access_by_lua*, content_by_lua*, init_by_lua*, ngx.timer.*''
49994999

0 commit comments

Comments
 (0)