Auto merge of #25907 - tshepang:patch-8, r=Gankro
This commit is contained in:
commit
16d037866d
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
//! You can get a non-`'static` `&str` by taking a slice of a `String`:
|
//! You can get a non-`'static` `&str` by taking a slice of a `String`:
|
||||||
//!
|
//!
|
||||||
//! ```
|
//! ```
|
||||||
//! # let some_string = "Hello, world.".to_string();
|
//! let some_string = "Hello, world.".to_string();
|
||||||
//! let s = &some_string;
|
//! let s = &some_string;
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue