Skip to content

Commit f2e0810

Browse files
committed
correct reference wrt shifts
Fixes #23421
1 parent 28a0b25 commit f2e0810

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/reference.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ be undesired.
12641264
* Sending signals
12651265
* Accessing/modifying the file system
12661266
* Unsigned integer overflow (well-defined as wrapping)
1267-
* Signed integer overflow (well-defined as two's complement representation
1267+
* Signed integer overflow (well-defined as twos complement representation
12681268
wrapping)
12691269

12701270
#### Diverging functions
@@ -2959,10 +2959,10 @@ meaning of the operators on standard types is given here.
29592959
: Exclusive or.
29602960
Calls the `bitxor` method of the `std::ops::BitXor` trait.
29612961
* `<<`
2962-
: Logical left shift.
2962+
: Left shift.
29632963
Calls the `shl` method of the `std::ops::Shl` trait.
29642964
* `>>`
2965-
: Logical right shift.
2965+
: Right shift.
29662966
Calls the `shr` method of the `std::ops::Shr` trait.
29672967

29682968
#### Lazy boolean operators

0 commit comments

Comments
 (0)