diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-22 15:32:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-22 15:32:15 +0200 |
| commit | 7dafdd21b1581b1992408a0688a8566938f60587 (patch) | |
| tree | 0b8a330f284d2a2735ad2368bdf19d4348a7eca4 /src/libcore/ptr | |
| parent | 002f604bc9c791ce8cc93581902588b251b51ee7 (diff) | |
| parent | 886fb218ed1daf519a8517ab5e382b55fb6ff659 (diff) | |
| download | rust-7dafdd21b1581b1992408a0688a8566938f60587.tar.gz rust-7dafdd21b1581b1992408a0688a8566938f60587.zip | |
Rollup merge of #62788 - fakenine:normalize_use_of_backticks_compiler_messages_p9, r=Centril
normalize use of backticks in compiler messages for libcore/ptr https://github.com/rust-lang/rust/issues/60532
Diffstat (limited to 'src/libcore/ptr')
| -rw-r--r-- | src/libcore/ptr/unique.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/ptr/unique.rs b/src/libcore/ptr/unique.rs index 5911518919e..d2517e51fc5 100644 --- a/src/libcore/ptr/unique.rs +++ b/src/libcore/ptr/unique.rs @@ -26,8 +26,8 @@ use crate::ptr::NonNull; /// Unlike `*mut T`, `Unique<T>` is covariant over `T`. This should always be correct /// for any type which upholds Unique's aliasing requirements. #[unstable(feature = "ptr_internals", issue = "0", - reason = "use NonNull instead and consider PhantomData<T> \ - (if you also use #[may_dangle]), Send, and/or Sync")] + reason = "use `NonNull` instead and consider `PhantomData<T>` \ + (if you also use `#[may_dangle]`), `Send`, and/or `Sync`")] #[doc(hidden)] #[repr(transparent)] #[rustc_layout_scalar_valid_range_start(1)] |
