Skip to content

Typo in definition of .strict_shr() for numeric types #148761

@acotis

Description

@acotis

Location (URL)

https://doc.rust-lang.org/std/primitive.i32.html#method.strict_shr

Summary

The phrase "panicking rhs is larger" should read "panicking if rhs is larger".

This seems to be an issue for all numeric types' documentation pages (I checked u32 and i32 and saw it on both).

Metadata

Metadata

Assignees

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions