We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f18c2b + 06624e8 commit 34f02c3Copy full SHA for 34f02c3
library/core/src/convert/mod.rs
@@ -440,7 +440,7 @@ pub trait TryInto<T>: Sized {
440
///
441
/// fn try_from(value: i32) -> Result<Self, Self::Error> {
442
/// if value <= 0 {
443
-/// Err("GreaterThanZero only accepts value superior than zero!")
+/// Err("GreaterThanZero only accepts values greater than zero!")
444
/// } else {
445
/// Ok(GreaterThanZero(value))
446
/// }
0 commit comments