forked from Mirror/wren
doc/site/functions Fn.new() clarification [minor] (#931)
In the description of Fn.new(): - Fix a typo - Add the referent of "that" for clarity
This commit is contained in:
@ -72,8 +72,8 @@ var someFn = Fn.new {
|
||||
}
|
||||
</pre>
|
||||
|
||||
As you can see it takes a block argument too! All the constructor does it
|
||||
return that, so this exists purely as a convenience method for you.
|
||||
As you can see it takes a block argument too! All the constructor does is
|
||||
return that argument, so this exists purely as a convenience method for you.
|
||||
|
||||
## Calling functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user