Skip to content

doc: I had to read this twice before understanding it #28027

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

Merged
merged 1 commit into from
Aug 27, 2015
Merged

doc: I had to read this twice before understanding it #28027

merged 1 commit into from
Aug 27, 2015

Conversation

tshepang
Copy link
Member

No description provided.

@rust-highfive
Copy link
Contributor

r? @pcwalton

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

@@ -78,7 +78,7 @@

#![stable(feature = "rust1", since = "1.0.0")]

/// A trait that types which have a useful default value should implement.
/// A trait that must be implememnted by types that have a useful default value.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why “must”? We do not enforce this invariant, nor will anything break due to breaking this now-a-requirement.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is wrong. What about

A trait for giving a type a useful default value.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@alexcrichton
Copy link
Member

@bors: r+ 469620f

@bors
Copy link
Collaborator

bors commented Aug 27, 2015

⌛ Testing commit 469620f with merge f663286...

@bors bors merged commit 469620f into rust-lang:master Aug 27, 2015
@tshepang tshepang deleted the improve-sentence branch August 27, 2015 14:29
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.

7 participants