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.
1 parent b30c886 commit 06624e8Copy full SHA for 06624e8
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