-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misc book improvements #25948
Misc book improvements #25948
Conversation
r? @huonw (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -33,8 +33,8 @@ let plus_two = |x| { | |||
assert_eq!(4, plus_two(2)); | |||
``` | |||
|
|||
You’ll notice a few things about closures that are a bit different than regular | |||
functions defined with `fn`. The first of which is that we did not need to | |||
You’ll notice a few things about closures that are a bit different to regular |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'to' reads very strangely to me. 'from' would sound good though. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed... done!
Looks great but one nit |
@bors: r+ rollup |
📌 Commit 09c6203 has been approved by |
No description provided.