Skip to content

Commit 91ea864

Browse files
committed
fix minor ungrammatical sentence
1 parent 37d4ec1 commit 91ea864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/convert/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ pub trait TryInto<T>: Sized {
440440
///
441441
/// fn try_from(value: i32) -> Result<Self, Self::Error> {
442442
/// if value <= 0 {
443-
/// Err("GreaterThanZero only accepts value superior than zero!")
443+
/// Err("GreaterThanZero only accepts values greater than zero!")
444444
/// } else {
445445
/// Ok(GreaterThanZero(value))
446446
/// }

0 commit comments

Comments
 (0)