-
Couldn't load subscription status.
- Fork 13.9k
Closed
Closed
Copy link
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: 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.Call 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.Relevant to the library team, which will review and decide on the PR/issue.
Description
Location
Methods for signed integer types which are missing a period:
Methods for unsigned integer types which are missing a period:
Methods for primitive types which are missing a colon:
u32::overflowing_addu32::overflowing_subu32::overflowing_divu32::overflowing_div_euclidu32::overflowing_remu32::overflowing_rem_euclidu32::overflowing_negu32::overflowing_shlu32::overflowing_shrstr::parse
Summary
I think the methods in the top two chunks above are missing a period at the end of the sentence.
For i32::unbounded_shl and u32::unbounded_shl:
-Unbounded shift left. Computes `self << rhs`, without bounding the value of `rhs`
+Unbounded shift left. Computes `self << rhs`, without bounding the value of `rhs`.For i32::unbounded_shr and u32::unbounded_shr:
-Unbounded shift right. Computes `self >> rhs`, without bounding the value of `rhs`
+Unbounded shift right. Computes `self >> rhs`, without bounding the value of `rhs`.For i32::overflowing_sub and u32::overflowing_sub:
-Calculates `self` - `rhs`
+Calculates `self` - `rhs`.For i32::overflowing_sub_unsigned:
-Calculates `self` - `rhs` with an unsigned `rhs`
+Calculates `self` - `rhs` with an unsigned `rhs`.Also, I think the methods in the last chunk are missing a colon in the examples section.
For u32::overflowing_add, u32::overflowing_sub, u32::overflowing_div, etc.:
-Basic usage
+Basic usage:Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: 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.Call 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.Relevant to the library team, which will review and decide on the PR/issue.