about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDale Wijnand <dale.wijnand@gmail.com>2018-12-07 17:34:53 +0100
committerDale Wijnand <dale.wijnand@gmail.com>2018-12-07 17:34:53 +0100
commitba3db7b03a9b4016d9bada0dc7f1696dfc3b0d30 (patch)
tree48e18c23484f23ca8c7c43015db2e113e0c2e4f6 /src
parent1ac066ef047fcead574876b04f86a684b8362c58 (diff)
downloadrust-ba3db7b03a9b4016d9bada0dc7f1696dfc3b0d30.tar.gz
rust-ba3db7b03a9b4016d9bada0dc7f1696dfc3b0d30.zip
grammar
Diffstat (limited to 'src')
-rw-r--r--src/libcore/ptr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs
index 69854c5a5d9..452f10bfbb6 100644
--- a/src/libcore/ptr.rs
+++ b/src/libcore/ptr.rs
@@ -2518,7 +2518,7 @@ pub fn eq<T: ?Sized>(a: *const T, b: *const T) -> bool {
 
 /// Hash a raw pointer.
 ///
-/// This can be used to hash a `&T` reference (which coerce to `*const T` implicitly)
+/// This can be used to hash a `&T` reference (which coerces to `*const T` implicitly)
 /// by its address rather than the value it points to
 /// (which is what the `Hash for &T` implementation does).
 ///