fix minor ungrammatical sentence
This commit is contained in:
parent
b30c88623c
commit
06624e8c5a
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
/// }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue