Skip to content

Commit

Permalink
fix minor ungrammatical sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
granolocks committed Sep 29, 2022
1 parent b30c886 commit 06624e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/convert/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ pub trait TryInto<T>: Sized {
///
/// fn try_from(value: i32) -> Result<Self, Self::Error> {
/// if value <= 0 {
/// Err("GreaterThanZero only accepts value superior than zero!")
/// Err("GreaterThanZero only accepts values greater than zero!")
/// } else {
/// Ok(GreaterThanZero(value))
/// }
Expand Down

0 comments on commit 06624e8

Please sign in to comment.