as_slice
-> as_str
in the docs
#63792
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
core::str::Str.as_slice()
has been renamed toas_str()
as discussed in #14433, but the old name is still referenced in the docs:rust/src/libstd/primitive_docs.rs
Line 658 in 1863067
The text was updated successfully, but these errors were encountered: