File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 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();
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//!
You can’t perform that action at this time.
0 commit comments