We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d5ae6b commit 2881bbaCopy full SHA for 2881bba
src/libstd/lib.rs
@@ -150,9 +150,9 @@
150
//!
151
//! `str`, a UTF-8 string slice, is a primitive type, and the standard
152
//! library defines [many methods for it](primitive.str.html). Rust
153
-//! `str`s are typically accessed as immutable references: `&mut
154
-//! str`. Use the owned `String` type defined in
155
-//! [`string`](string/index.html) for building and mutating strings.
+//! `str`s are typically accessed as immutable references: `&str`. Use
+//! the owned `String` type defined in [`string`](string/index.html)
+//! for building and mutating strings.
156
157
//! For converting to strings use the [`format!`](fmt/index.html)
158
//! macro, and for converting from strings use the
0 commit comments