]> git.lizzy.rs Git - rust.git/commitdiff
Docs: restore link text after renaming anchor
authorRuud van Asseldonk <dev@veniogames.com>
Fri, 4 Aug 2017 11:03:58 +0000 (13:03 +0200)
committerRuud van Asseldonk <dev@veniogames.com>
Sun, 13 Aug 2017 09:20:52 +0000 (11:20 +0200)
The text does not need the hyphen, but the anchor name does.

src/libstd/lib.rs

index 86bdf606980a94dc1cc70f74f7ab95a65a37e4df..30495f297453d33e7c62bfa21b591c27f36d75a5 100644 (file)
@@ -80,8 +80,8 @@
 //!
 //! Note the documentation for the primitives [`str`] and [`[T]`][slice] (also
 //! called 'slice'). Many method calls on [`String`] and [`Vec<T>`] are actually
-//! calls to methods on [`str`] and [`[T]`][slice] respectively, via
-//! [deref-coercions].
+//! calls to methods on [`str`] and [`[T]`][slice] respectively, via [deref
+//! coercions][deref-coercions].
 //!
 //! Third, the standard library defines [The Rust Prelude], a small collection
 //! of items - mostly traits - that are imported into every module of every