Add missing urls on String module
This commit is contained in:
parent
a7bfb1aba9
commit
3c66f96aac
1 changed files with 4 additions and 3 deletions
|
|
@ -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();
|
||||
//!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue