diff options
| author | CrLF0710 <crlf0710@gmail.com> | 2018-05-29 15:58:50 +0800 |
|---|---|---|
| committer | CrLF0710 <crlf0710@gmail.com> | 2018-06-01 09:37:05 +0800 |
| commit | 8e90a2d02f4d90409dcd65a8e54b76f1edcba42c (patch) | |
| tree | ff58ab70bd9caa492e6f76ac36fc2dd0f15cf207 /src/test/incremental/thinlto | |
| parent | efc508ba4ce9bc0ac3570436b3400c6e0b0f1dfb (diff) | |
| download | rust-8e90a2d02f4d90409dcd65a8e54b76f1edcba42c.tar.gz rust-8e90a2d02f4d90409dcd65a8e54b76f1edcba42c.zip | |
Replace `if` with `if and only if` in the definition dox of `Sync`
The old text was: "The precise definition is: a type T is Sync if &T is Send."
Since we've also got
```
impl<'a, T> Send for &'a T
where
T: Sync + ?Sized,
```
I purpose we can change the `if` to `if and only if` to make it more precise.Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
