Auto merge of #63815 - sebastinez:sebastinez-doc-#63792, r=jonas-schievink
Update occurences of as_slice to as_str in comments Fix #63792
This commit is contained in:
commit
3def0f3d5b
@ -655,7 +655,7 @@ mod prim_slice { }
|
|||||||
/// [`len`]: #method.len
|
/// [`len`]: #method.len
|
||||||
///
|
///
|
||||||
/// Note: This example shows the internals of `&str`. `unsafe` should not be
|
/// 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.
|
/// instead.
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
mod prim_str { }
|
mod prim_str { }
|
||||||
|
Loading…
Reference in New Issue
Block a user