From 06624e8c5a4686dd10036cf5bc8a19bca49ac9ff Mon Sep 17 00:00:00 2001 From: Gabe Koss Date: Thu, 29 Sep 2022 00:20:05 -0400 Subject: [PATCH] fix minor ungrammatical sentence --- library/core/src/convert/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/convert/mod.rs b/library/core/src/convert/mod.rs index c42adda8da545..6f23b9d908dba 100644 --- a/library/core/src/convert/mod.rs +++ b/library/core/src/convert/mod.rs @@ -440,7 +440,7 @@ pub trait TryInto: Sized { /// /// fn try_from(value: i32) -> Result { /// if value <= 0 { -/// Err("GreaterThanZero only accepts value superior than zero!") +/// Err("GreaterThanZero only accepts values greater than zero!") /// } else { /// Ok(GreaterThanZero(value)) /// }