]> git.lizzy.rs Git - rust.git/commitdiff
Fix broken link markup in Hasher::finish docs
authorLukas H <lukaramu@users.noreply.github.com>
Fri, 10 Nov 2017 19:58:03 +0000 (20:58 +0100)
committerGitHub <noreply@github.com>
Fri, 10 Nov 2017 19:58:03 +0000 (20:58 +0100)
There were apostrophes when there needed to be backticks.

src/libcore/hash/mod.rs

index b3c11ed1b5ac4d245ee0f0c1e462dbe4b20fbd70..15545a04b64de04e7b37e8115ad8d6b491a92cd4 100644 (file)
@@ -259,7 +259,7 @@ pub trait Hasher {
     /// println!("Hash is {:x}!", hasher.finish());
     /// ```
     ///
-    /// ['write']: #tymethod.write
+    /// [`write`]: #tymethod.write
     #[stable(feature = "rust1", since = "1.0.0")]
     fn finish(&self) -> u64;