Skip to content

reference.md: clarify negation. #31664

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
Mar 7, 2016
Merged

Conversation

nodakai
Copy link
Contributor

@nodakai nodakai commented Feb 15, 2016

It would be great if someone could check my English.

@rust-highfive
Copy link
Contributor

r? @alexcrichton

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

@@ -2752,7 +2756,9 @@ Rust defines the following unary operators. They are all written as prefix opera
before the expression they apply to.

* `-`
: Negation. May only be applied to numeric types.
: Negation. Signed integer types and floating-point types support negation. It
is an error to apply negation to unsigned types; for example, compiler
Copy link
Contributor

Choose a reason for hiding this comment

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

You'd probably want to say "the compiler" here.

Copy link
Member

Choose a reason for hiding this comment

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

yup!

@steveklabnik
Copy link
Member

Just that one minor note, otherwise looks good here.

@nodakai nodakai force-pushed the reference-negation branch from b479313 to 9dab85e Compare March 6, 2016 11:22
@nodakai nodakai force-pushed the reference-negation branch from 9dab85e to 559683c Compare March 6, 2016 20:42
@nodakai
Copy link
Contributor Author

nodakai commented Mar 6, 2016

Thanks for the comments, fixed it

@alexcrichton
Copy link
Member

@bors: r=steveklabnik 559683c

@bors
Copy link
Collaborator

bors commented Mar 7, 2016

⌛ Testing commit 559683c with merge e079afa...

bors added a commit that referenced this pull request Mar 7, 2016
It would be great if someone could check my English.
@bors bors merged commit 559683c into rust-lang:master Mar 7, 2016
@nodakai nodakai deleted the reference-negation branch March 8, 2016 05:03
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.

6 participants