Skip to content

Small errors in the documentation for rchunks_exact and rchunks_exact_mut #60068

Closed
@cyrozap

Description

@cyrozap

While reading through some documentation I found what appear to be a few copy/paste errors.

rchunks_exact

"beginning of the slice" should be "end of the slice" here:

/// Returns an iterator over `chunk_size` elements of the slice at a time, starting at the
/// beginning of the slice.

The second " of the slice" should be removed from the end of this sentence:

/// chunk, and [`chunks_exact`] for the same iterator but starting at the beginning of the
/// slice of the slice.

rchunks_exact_mut

The second " of the slice" should be removed from the end of this sentence:

/// smaller chunk, and [`chunks_exact_mut`] for the same iterator but starting at the beginning
/// of the slice of the slice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsE-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