Skip to content

Commit

Permalink
Rollup merge of rust-lang#37073 - GuillaumeGomez:string_url, r=stevek…
Browse files Browse the repository at this point in the history
…labnik

Add missing urls on String module

r? @steveklabnik
  • Loading branch information
GuillaumeGomez authored Oct 11, 2016
2 parents bfbd0a5 + 3c66f96 commit 5c29a91
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/libcollections/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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();
//!
Expand Down

0 comments on commit 5c29a91

Please sign in to comment.