]> git.lizzy.rs Git - rust.git/commitdiff
Doc typo
authorAlex Kapranoff <kapranoff@gmail.com>
Sun, 15 Dec 2019 01:12:40 +0000 (17:12 -0800)
committerGitHub <noreply@github.com>
Sun, 15 Dec 2019 01:12:40 +0000 (17:12 -0800)
src/libcore/num/mod.rs

index 5a97aa4acfa4cd982b0455f0056b77ee5a9df61f..d75228454128500652665057d7dbb28b140bd4bb 100644 (file)
@@ -143,7 +143,7 @@ fn from_str(src: &str) -> Result<Self, Self::Err> {
 
 /// 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.,