Skip to content

Commit 06624e8

Browse files
committed
fix minor ungrammatical sentence
1 parent b30c886 commit 06624e8

File tree

1 file changed

+1
-1
lines changed
  • library/core/src/convert

1 file changed

+1
-1
lines changed

library/core/src/convert/mod.rs

+1-1
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)