File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 14
14
//! [`ToString`]s, and several error types that may result from working with
15
15
//! [`String`]s.
16
16
//!
17
- //! [`String`]: struct.String.html
18
17
//! [`ToString`]: trait.ToString.html
19
18
//!
20
19
//! # Examples
21
20
//!
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:
23
22
//!
24
23
//! ```
25
24
//! let s = "Hello".to_string();
28
27
//! let s: String = "also this".into();
29
28
//! ```
30
29
//!
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
32
31
//! `+`:
33
32
//!
33
+ //! [`String`]: struct.String.html
34
+ //!
34
35
//! ```
35
36
//! let s = "Hello".to_string();
36
37
//!
You can’t perform that action at this time.
0 commit comments