mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 13:13:40 +00:00
Update occurences of as_slice
Update occurences of as_slice to as_str
This commit is contained in:
parent
201e52e5fe
commit
03507a1688
@ -655,7 +655,7 @@ mod prim_slice { }
|
||||
/// [`len`]: #method.len
|
||||
///
|
||||
/// Note: This example shows the internals of `&str`. `unsafe` should not be
|
||||
/// used to get a string slice under normal circumstances. Use `as_slice`
|
||||
/// used to get a string slice under normal circumstances. Use `as_str`
|
||||
/// instead.
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
mod prim_str { }
|
||||
|
Loading…
Reference in New Issue
Block a user