diff options
| author | bors <bors@rust-lang.org> | 2015-05-31 23:13:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-05-31 23:13:26 +0000 |
| commit | 16d037866d1fc5b478e40d92e4f76b2ecb8c4d79 (patch) | |
| tree | 205494b7a12bff4b6f9549be7eabdc7c844bee71 | |
| parent | 02e4c4b8c8faac6af43af0cd7e7f0d4f08dee3cd (diff) | |
| parent | aabff227d21b9b64afbf92bebeb25d189c51c375 (diff) | |
| download | rust-16d037866d1fc5b478e40d92e4f76b2ecb8c4d79.tar.gz rust-16d037866d1fc5b478e40d92e4f76b2ecb8c4d79.zip | |
Auto merge of #25907 - tshepang:patch-8, r=Gankro
| -rw-r--r-- | src/libcollections/str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs index d9a45872489..ccfc6dc0f29 100644 --- a/src/libcollections/str.rs +++ b/src/libcollections/str.rs @@ -30,7 +30,7 @@ //! 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; //! ``` //! |
