Skip to content

Documentation for usize::wrapping_sub mentions undeclared variable #46308

Closed
@jeehoonkang

Description

@jeehoonkang

Here, "Computes self - other" should be "Computes self - rhs":

/// Wrapping (modular) subtraction. Computes `self - other`,

Similarly for many other methods for usize.

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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions