about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorRuud van Asseldonk <dev@veniogames.com>2017-08-04 13:03:58 +0200
committerRuud van Asseldonk <dev@veniogames.com>2017-08-13 11:20:52 +0200
commite63d979e22d6c0b82812a944151db3d3f54ff2e4 (patch)
tree9e3d262d13ab70e47086553225ec860ca58f27c6 /src/libstd/lib.rs
parent01000fb5c65cf6f8ed8a845bf85dff5f2fe2949f (diff)
downloadrust-e63d979e22d6c0b82812a944151db3d3f54ff2e4.tar.gz
rust-e63d979e22d6c0b82812a944151db3d3f54ff2e4.zip
Docs: restore link text after renaming anchor
The text does not need the hyphen, but the anchor name does.
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 86bdf606980..30495f29745 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -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