diff options
| author | Alex Kapranoff <kapranoff@gmail.com> | 2019-12-14 17:12:40 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-14 17:12:40 -0800 |
| commit | d0008baebd9d2cb98cfe852a6e2ce9b7cd7ca78a (patch) | |
| tree | 3516edcb716d41c84983f2f768107508272084d3 /src/libcore | |
| parent | c8ea4ace9213ae045123fdfeb59d1ac887656d31 (diff) | |
| download | rust-d0008baebd9d2cb98cfe852a6e2ce9b7cd7ca78a.tar.gz rust-d0008baebd9d2cb98cfe852a6e2ce9b7cd7ca78a.zip | |
Doc typo
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/num/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 5a97aa4acfa..d7522845412 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -143,7 +143,7 @@ NonZeroI8 NonZeroI16 NonZeroI32 NonZeroI64 NonZeroI128 NonZeroIsize } /// Provides intentionally-wrapped arithmetic on `T`. /// -/// Operations like `+` on `u32` values is intended to never overflow, +/// Operations like `+` on `u32` values are intended to never overflow, /// and in some debug configurations overflow is detected and results /// in a panic. While most arithmetic falls into this category, some /// code explicitly expects and relies upon modular arithmetic (e.g., |
