aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2018-08-07 20:14:54 +0200
committeracdenisSK <[email protected]>2018-08-07 21:06:45 +0200
commiteef1a89df0e95a003ea750270ad53ec0c21fd69c (patch)
treeb06c623ab7939b2f8c29405bd9da1087c1e7e5bb /src/framework
parentUnwrap `rfind` (diff)
downloadserenity-eef1a89df0e95a003ea750270ad53ec0c21fd69c.tar.xz
serenity-eef1a89df0e95a003ea750270ad53ec0c21fd69c.zip
Reword `ArgError`'s docs a little
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/standard/args.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/framework/standard/args.rs b/src/framework/standard/args.rs
index e0a83ee..b4380bb 100644
--- a/src/framework/standard/args.rs
+++ b/src/framework/standard/args.rs
@@ -7,10 +7,9 @@ use std::{
/// Defines how an operation on an `Args` method failed.
#[derive(Debug)]
pub enum Error<E: StdError> {
- /// "END-OF-STRING", more precisely, there isn't anything to parse anymore.
+ /// "END-OF-STRING". There's nothing to parse anymore.
Eos,
- /// A parsing operation failed; the error in it can be of any returned from the `FromStr`
- /// trait.
+ /// The parsing operation failed; the error can be anything returned from the `FromStr` trait.
Parse(E),
}