-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
fix doc #24837
fix doc #24837
Conversation
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -83,7 +83,7 @@ fn takes_anything<T>(x: T) { | |||
``` | |||
|
|||
The syntax has two parts: the `<T>` says “this function is generic over one | |||
type, `T`”, and the `x: T` says “x has the type `T`.” | |||
type, `T`”, and the `x: T` says “x has the type `T`”. |
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.
commas go inside of double quotes, actually.
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.
sorry for that, my english is not very good,maybe I'm wrong.
@@ -1,6 +1,6 @@ | |||
% Enums | |||
|
|||
Rust has a ‘sum type’, an `enum`. Enums are an incredibly useful feature of | |||
Rust has a‘sum type’, an `enum`. Enums are an incredibly useful feature of |
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.
why did you delete the space between a
and 'sum type'
here?
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.
en,they shouldn't be deleted as well as others, I will turn it back!
☔ The latest upstream changes (presumably #25218) made this pull request unmergeable. Please resolve the merge conflicts. |
☔ The latest upstream changes (presumably #25357) made this pull request unmergeable. Please resolve the merge conflicts. |
☔ The latest upstream changes (presumably #25525) made this pull request unmergeable. Please resolve the merge conflicts. |
the doc has been fixed |
No description provided.