From e63d979e22d6c0b82812a944151db3d3f54ff2e4 Mon Sep 17 00:00:00 2001 From: Ruud van Asseldonk Date: Fri, 4 Aug 2017 13:03:58 +0200 Subject: [PATCH] Docs: restore link text after renaming anchor The text does not need the hyphen, but the anchor name does. --- src/libstd/lib.rs | 4 ++-- 1 file 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`] 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