Skip to content
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

Merged
merged 1 commit into from
Jun 9, 2015
Merged

book: remove a sentence that is not clear #26105

merged 1 commit into from
Jun 9, 2015

Conversation

tshepang
Copy link
Member

@tshepang tshepang commented Jun 8, 2015

No description provided.

@rust-highfive
Copy link
Collaborator

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

@tshepang
Copy link
Member Author

tshepang commented Jun 8, 2015

r? @steveklabnik

@@ -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.
Copy link
Member

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."?

Copy link
Member Author

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.

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Jun 8, 2015

📌 Commit e305674 has been approved by steveklabnik

Manishearth added a commit to Manishearth/rust that referenced this pull request Jun 9, 2015
bors added a commit that referenced this pull request Jun 9, 2015
@bors bors merged commit e305674 into rust-lang:master Jun 9, 2015
@tshepang tshepang deleted the sentence-not-clear branch June 9, 2015 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants