diff options
| author | Gabe Koss <gabe.koss@gmail.com> | 2022-09-29 00:20:05 -0400 |
|---|---|---|
| committer | Gabe Koss <gabe.koss@gmail.com> | 2022-09-29 00:20:05 -0400 |
| commit | 06624e8c5a4686dd10036cf5bc8a19bca49ac9ff (patch) | |
| tree | 72d2f87aa09ff932a14751dd51d1bb49ca828783 | |
| parent | b30c88623cf1f8f3e67b189fb2c5df5a0d89aaed (diff) | |
| download | rust-06624e8c5a4686dd10036cf5bc8a19bca49ac9ff.tar.gz rust-06624e8c5a4686dd10036cf5bc8a19bca49ac9ff.zip | |
fix minor ungrammatical sentence
| -rw-r--r-- | library/core/src/convert/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/convert/mod.rs b/library/core/src/convert/mod.rs index c42adda8da5..6f23b9d908d 100644 --- a/library/core/src/convert/mod.rs +++ b/library/core/src/convert/mod.rs @@ -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)) /// } |
