From d0008baebd9d2cb98cfe852a6e2ce9b7cd7ca78a Mon Sep 17 00:00:00 2001 From: Alex Kapranoff Date: Sat, 14 Dec 2019 17:12:40 -0800 Subject: [PATCH] Doc typo --- src/libcore/num/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 5a97aa4acfa4c..d752284541285 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.,