correct reference wrt shifts

Fixes #23421
This commit is contained in:
Steve Klabnik 2015-03-24 12:41:22 -04:00
parent 28a0b25f42
commit f2e0810cb8
1 changed files with 3 additions and 3 deletions

View File

@ -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
@ -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