Skip to content

Commit d0008ba

Browse files
authored
Doc typo
1 parent c8ea4ac commit d0008ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/num/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ NonZeroI8 NonZeroI16 NonZeroI32 NonZeroI64 NonZeroI128 NonZeroIsize }
143143

144144
/// Provides intentionally-wrapped arithmetic on `T`.
145145
///
146-
/// Operations like `+` on `u32` values is intended to never overflow,
146+
/// Operations like `+` on `u32` values are intended to never overflow,
147147
/// and in some debug configurations overflow is detected and results
148148
/// in a panic. While most arithmetic falls into this category, some
149149
/// code explicitly expects and relies upon modular arithmetic (e.g.,

0 commit comments

Comments
 (0)