-
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
book: remove a sentence that is not clear #26105
Conversation
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -1,8 +1,8 @@ | |||
% Generics | |||
|
|||
Sometimes, when writing a function or data type, we may want it to work for | |||
multiple types of arguments. Luckily, Rust has a feature that gives us a better | |||
way: generics. Generics are called ‘parametric polymorphism’ in type theory, | |||
multiple types of arguments. In Rust, this feature is called generics. |
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.
What about "We can do this in Rust with generics."?
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.
Nice one.
Done, with a readability tweak.
@bors: r+ rollup |
📌 Commit e305674 has been approved by |
No description provided.