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

Don't stutter in operator trait descriptions #40818

Merged
merged 1 commit into from
Mar 29, 2017

Conversation

theotherphil
Copy link
Contributor

Fixes first item on #29365.

r? @steveklabnik

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @steveklabnik (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@steveklabnik
Copy link
Member

Wonderful, thanks so much!

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Mar 25, 2017

📌 Commit 8b92255 has been approved by steveklabnik

@steveklabnik steveklabnik mentioned this pull request Mar 25, 2017
13 tasks
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Mar 26, 2017
Don't stutter in operator trait descriptions

Fixes first item on rust-lang#29365.

r? @steveklabnik
@@ -768,7 +768,7 @@ macro_rules! neg_impl_unsigned {
// neg_impl_unsigned! { usize u8 u16 u32 u64 }
neg_impl_numeric! { isize i8 i16 i32 i64 i128 f32 f64 }

/// The `Not` trait is used to specify the functionality of unary `!`.
/// The unary logical negation operator `!`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the word “unary” really necessary here? Unlike - where there are binary and unary uses ! is always unary. Is the logical negation even defined in some other systems for multiple operands?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think it's necessary, but I don't mind it either.

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Mar 27, 2017
Don't stutter in operator trait descriptions

Fixes first item on rust-lang#29365.

r? @steveklabnik
bors added a commit that referenced this pull request Mar 27, 2017
bors added a commit that referenced this pull request Mar 28, 2017
@bors bors merged commit 8b92255 into rust-lang:master Mar 29, 2017
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