We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f834695 + 03507a1 commit 3def0f3Copy full SHA for 3def0f3
src/libstd/primitive_docs.rs
@@ -655,7 +655,7 @@ mod prim_slice { }
655
/// [`len`]: #method.len
656
///
657
/// Note: This example shows the internals of `&str`. `unsafe` should not be
658
-/// used to get a string slice under normal circumstances. Use `as_slice`
+/// used to get a string slice under normal circumstances. Use `as_str`
659
/// instead.
660
#[stable(feature = "rust1", since = "1.0.0")]
661
mod prim_str { }
0 commit comments