Skip to content

Commit 35b4f0e

Browse files
steveklabnikManishearth
authored andcommitted
correct reference wrt shifts
Fixes rust-lang#23421
1 parent c0b3038 commit 35b4f0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ be undesired.
12651265
* Sending signals
12661266
* Accessing/modifying the file system
12671267
* Unsigned integer overflow (well-defined as wrapping)
1268-
* Signed integer overflow (well-defined as two's complement representation
1268+
* Signed integer overflow (well-defined as twos complement representation
12691269
wrapping)
12701270

12711271
#### Diverging functions
@@ -2961,10 +2961,10 @@ meaning of the operators on standard types is given here.
29612961
: Exclusive or.
29622962
Calls the `bitxor` method of the `std::ops::BitXor` trait.
29632963
* `<<`
2964-
: Logical left shift.
2964+
: Left shift.
29652965
Calls the `shl` method of the `std::ops::Shl` trait.
29662966
* `>>`
2967-
: Logical right shift.
2967+
: Right shift.
29682968
Calls the `shr` method of the `std::ops::Shr` trait.
29692969

29702970
#### Lazy boolean operators

0 commit comments

Comments
 (0)