diff options
| author | Samy Kacimi <samy.kacimi@protonmail.ch> | 2019-07-18 22:32:24 +0200 |
|---|---|---|
| committer | Samy Kacimi <samy.kacimi@protonmail.ch> | 2019-07-18 23:33:16 +0200 |
| commit | 886fb218ed1daf519a8517ab5e382b55fb6ff659 (patch) | |
| tree | d94e1f6f057bc6a67e11a5a057dab926da2ffcab /src/libcore | |
| parent | 311376d30dc1cfa622142a9f50317b1e0cb4608a (diff) | |
| download | rust-886fb218ed1daf519a8517ab5e382b55fb6ff659.tar.gz rust-886fb218ed1daf519a8517ab5e382b55fb6ff659.zip | |
normalize use of backticks in compiler messages for libcore/ptr
https://github.com/rust-lang/rust/issues/60532
Diffstat (limited to 'src/libcore')
| -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)] |
