From 35585c499f1466037b3788598756e1eb0009f51f Mon Sep 17 00:00:00 2001 From: Alexander Regueiro Date: Thu, 28 Feb 2019 22:43:53 +0000 Subject: Aggregation of drive-by cosmetic changes. --- src/libcore/cell.rs | 2 +- src/libcore/ops/unsize.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libcore') diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs index 9d26ecbacdc..239ff017cc2 100644 --- a/src/libcore/cell.rs +++ b/src/libcore/cell.rs @@ -1351,7 +1351,7 @@ impl<'b> BorrowRefMut<'b> { } } - // Clone a `BorrowRefMut`. + // Clones a `BorrowRefMut`. // // This is only valid if each `BorrowRefMut` is used to track a mutable // reference to a distinct, nonoverlapping range of the original object. diff --git a/src/libcore/ops/unsize.rs b/src/libcore/ops/unsize.rs index 7f81481ab5b..8e468300846 100644 --- a/src/libcore/ops/unsize.rs +++ b/src/libcore/ops/unsize.rs @@ -71,7 +71,7 @@ impl, U: ?Sized> CoerceUnsized<*const U> for *const T {} /// This is used for object safety, to check that a method's receiver type can be dispatched on. /// -/// example impl: +/// An example implementation of the trait: /// /// ``` /// # #![feature(dispatch_from_dyn, unsize)] -- cgit 1.4.1-3-g733a5