about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/ops/unsize.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/ops/unsize.rs b/src/libcore/ops/unsize.rs
index 4faace26b02..0112258134d 100644
--- a/src/libcore/ops/unsize.rs
+++ b/src/libcore/ops/unsize.rs
@@ -85,10 +85,10 @@ impl<T: ?Sized+Unsize<U>, U: ?Sized> CoerceUnsized<*const U> for *const T {}
 ///  where `Self = dyn Trait` to the version where `Self = T`, the erased, sized type
 /// of the underlying object.
 ///
-/// CoerceSized is implemented for:
-/// - &[T] is CoerceSized<&[T; N]> for any N
-/// - &Trait is CoerceSized<&T> for any T: Trait
-/// - and similarly for &mut T, *const T, *mut T, Box<T>, Rc<T>, Arc<T>
+/// `CoerceSized` is implemented for:
+/// - `&[T]` is `CoerceSized<&[T; N]>` for any `N`
+/// - `&Trait` is `CoerceSized<&T>` for any `T: Trait`
+/// - and similarly for `&mut T`, `*const T`, `*mut T`, `Box<T>`, `Rc<T>`, `Arc<T>`
 #[unstable(feature = "coerce_sized", issue = "0")]
 #[cfg_attr(not(stage0), lang = "coerce_sized")]
 pub trait CoerceSized<T> where T: CoerceUnsized<Self> {