1
0
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:
Chris White
2021-03-02 12:27:23 -05:00
committed by GitHub
parent 2bc895c26d
commit dfa7d9c895

View File

@ -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