Skip to content

Commit 3c66f96

Browse files
Add missing urls on String module
1 parent a7bfb1a commit 3c66f96

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/libcollections/string.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414
//! [`ToString`]s, and several error types that may result from working with
1515
//! [`String`]s.
1616
//!
17-
//! [`String`]: struct.String.html
1817
//! [`ToString`]: trait.ToString.html
1918
//!
2019
//! # Examples
2120
//!
22-
//! There are multiple ways to create a new `String` from a string literal:
21+
//! There are multiple ways to create a new [`String`] from a string literal:
2322
//!
2423
//! ```
2524
//! let s = "Hello".to_string();
@@ -28,9 +27,11 @@
2827
//! let s: String = "also this".into();
2928
//! ```
3029
//!
31-
//! You can create a new `String` from an existing one by concatenating with
30+
//! You can create a new [`String`] from an existing one by concatenating with
3231
//! `+`:
3332
//!
33+
//! [`String`]: struct.String.html
34+
//!
3435
//! ```
3536
//! let s = "Hello".to_string();
3637
//!

0 commit comments

Comments
 (0)