about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-10-10 18:15:55 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2016-10-10 18:15:55 +0200
commit3c66f96aacacee83bf52341cf349e24c768aa1f2 (patch)
tree880c55e5ac681aaf98dad075126363416792b233
parenta7bfb1aba9d089a0464c03b3841e889c6ee7c4f1 (diff)
downloadrust-3c66f96aacacee83bf52341cf349e24c768aa1f2.tar.gz
rust-3c66f96aacacee83bf52341cf349e24c768aa1f2.zip
Add missing urls on String module
-rw-r--r--src/libcollections/string.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs
index 119828ea43c..7a61451b900 100644
--- a/src/libcollections/string.rs
+++ b/src/libcollections/string.rs
@@ -14,12 +14,11 @@
 //! [`ToString`]s, and several error types that may result from working with
 //! [`String`]s.
 //!
-//! [`String`]: struct.String.html
 //! [`ToString`]: trait.ToString.html
 //!
 //! # Examples
 //!
-//! There are multiple ways to create a new `String` from a string literal:
+//! There are multiple ways to create a new [`String`] from a string literal:
 //!
 //! ```
 //! let s = "Hello".to_string();
@@ -28,9 +27,11 @@
 //! let s: String = "also this".into();
 //! ```
 //!
-//! You can create a new `String` from an existing one by concatenating with
+//! You can create a new [`String`] from an existing one by concatenating with
 //! `+`:
 //!
+//! [`String`]: struct.String.html
+//!
 //! ```
 //! let s = "Hello".to_string();
 //!