diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-24 14:50:48 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-24 14:50:48 -0700 |
| commit | 020efc78f106d507cef9ec0605efba0a82ec692d (patch) | |
| tree | aad4ee13c392f9943b47c6738889453789deb3f9 /src/doc | |
| parent | 8a0bb4281361b1b7d11239c4a154a3d75e6bdf64 (diff) | |
| parent | f2e0810cb8a3aacea93193ec70c882d3b6b4971c (diff) | |
| download | rust-020efc78f106d507cef9ec0605efba0a82ec692d.tar.gz rust-020efc78f106d507cef9ec0605efba0a82ec692d.zip | |
rollup merge of #23662: steveklabnik/gh23421
I assume since both shifts say the same thing, I should fix both of them, but then I realized I don't strictly know about left shift. Fixes #23421 r? @pnkfelix
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/reference.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 07df3bdad34..32088b2ab67 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1265,7 +1265,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 two’s complement representation wrapping) #### Diverging functions @@ -2961,10 +2961,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 |
