diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2018-06-01 17:25:14 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-01 17:25:14 -0600 |
| commit | b6013b2ef55191f29c34d42c488fa90e2b7c8ba5 (patch) | |
| tree | 5cb2031647133abb6c90cdf5a69f77324bb95f18 /src/rustllvm/RustWrapper.cpp | |
| parent | 361a82ca7b8cc4ddbd8266e3e7a66997e98a4e43 (diff) | |
| parent | 8e90a2d02f4d90409dcd65a8e54b76f1edcba42c (diff) | |
| download | rust-b6013b2ef55191f29c34d42c488fa90e2b7c8ba5.tar.gz rust-b6013b2ef55191f29c34d42c488fa90e2b7c8ba5.zip | |
Rollup merge of #51152 - crlf0710:patch-1, r=kennytm
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/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
