diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-03-24 12:41:22 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-03-24 12:58:50 -0400 |
| commit | f2e0810cb8a3aacea93193ec70c882d3b6b4971c (patch) | |
| tree | 9c9614b1f30298fd4c5e2a365fcf4b04ef79dca8 /src/doc/reference.md | |
| parent | 28a0b25f424090255966273994748a9f9901059f (diff) | |
| download | rust-f2e0810cb8a3aacea93193ec70c882d3b6b4971c.tar.gz rust-f2e0810cb8a3aacea93193ec70c882d3b6b4971c.zip | |
correct reference wrt shifts
Fixes #23421
Diffstat (limited to 'src/doc/reference.md')
| -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 415ec4e4fbf..6e6c56d3df2 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -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 two’s 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 |
