Skip to content

as_slice -> as_str in the docs #63792

Closed
@axil

Description

@axil

core::str::Str.as_slice() has been renamed to as_str() as discussed in #14433, but the old name is still referenced in the docs:

/// used to get a string slice under normal circumstances. Use `as_slice`

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions