diff options
| author | Martin Hoffmann <hn@nvnc.de> | 2017-12-05 18:28:29 +0100 |
|---|---|---|
| committer | Martin Hoffmann <hn@nvnc.de> | 2017-12-05 18:28:29 +0100 |
| commit | c4ea700041f78a016dca557c2da86006a7bbedf8 (patch) | |
| tree | f033cf2341b24da5aed90fb8e438bb7b857e9e56 /src/libcore | |
| parent | cba5f6bd01bc3ba692c355ca82212db069cd800c (diff) | |
| download | rust-c4ea700041f78a016dca557c2da86006a7bbedf8.tar.gz rust-c4ea700041f78a016dca557c2da86006a7bbedf8.zip | |
Remove trailing white space.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/borrow.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/borrow.rs b/src/libcore/borrow.rs index 76f6215fae6..4d4a07f59d1 100644 --- a/src/libcore/borrow.rs +++ b/src/libcore/borrow.rs @@ -100,12 +100,12 @@ /// /// Instead, `get` relies on `Q`’s implementation of `Hash` and uses `Borrow` /// to indicate that `K`’s implementation of `Hash` must produce the same -/// result as `Q`’s by demanding that `K: Borrow<Q>`. +/// result as `Q`’s by demanding that `K: Borrow<Q>`. /// /// As a consequence, the hash map breaks if a `K` wrapping a `Q` value /// produces a different hash than `Q`. For instance, image you have a /// type that wraps a string but compares ASCII letters case-insensitive: -/// +/// /// ``` /// use std::ascii::AsciiExt; /// @@ -148,7 +148,7 @@ /// [`HashMap`]: ../collections/struct.HashMap.html /// [`String`]: ../string/struct.String.html /// [`str`]: ../primitive.str.html -/// +/// #[stable(feature = "rust1", since = "1.0.0")] pub trait Borrow<Borrowed: ?Sized> { /// Immutably borrows from an owned value. |
