Skip to content

Commit

Permalink
correct reference wrt shifts
Browse files Browse the repository at this point in the history
Fixes #23421
  • Loading branch information
steveklabnik committed Mar 24, 2015
1 parent 28a0b25 commit f2e0810
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/reference.md
Expand Up @@ -1264,7 +1264,7 @@ be undesired.
* Sending signals
* Accessing/modifying the file system
* Unsigned integer overflow (well-defined as wrapping)
* Signed integer overflow (well-defined as two's complement representation
* Signed integer overflow (well-defined as twos complement representation
wrapping)

#### Diverging functions
Expand Down Expand Up @@ -2959,10 +2959,10 @@ meaning of the operators on standard types is given here.
: Exclusive or.
Calls the `bitxor` method of the `std::ops::BitXor` trait.
* `<<`
: Logical left shift.
: Left shift.
Calls the `shl` method of the `std::ops::Shl` trait.
* `>>`
: Logical right shift.
: Right shift.
Calls the `shr` method of the `std::ops::Shr` trait.

#### Lazy boolean operators
Expand Down

0 comments on commit f2e0810

Please sign in to comment.