Skip to content

Commit da74e86

Browse files
committed
Review request changes
1 parent f628117 commit da74e86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcollections/str.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
//! Unicode string slices.
1212
//!
1313
//! The `&str` type is one of the two main string types, the other being `String`.
14-
//! Unlike its `String` counterpart, its contents are borrowed and therefore
15-
//! cannot be moved someplace else.
14+
//! Unlike its `String` counterpart, its contents are borrowed.
1615
//!
1716
//! # Basic Usage
17+
//!
1818
//! A basic string declaration of `&str` type:
1919
//!
2020
//! ```
@@ -27,7 +27,7 @@
2727
//! We can explicitly specify `hello_world`'s lifetime as well:
2828
//!
2929
//! ```
30-
//! let hello_world:&'static str = "Hello, world!";
30+
//! let hello_world: &'static str = "Hello, world!";
3131
//! ```
3232
//!
3333
//! *[See also the `str` primitive type](../../std/primitive.str.html).*

0 commit comments

Comments
 (0)