diff options
| author | acdenisSK <[email protected]> | 2018-08-07 20:14:54 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2018-08-07 21:06:45 +0200 |
| commit | eef1a89df0e95a003ea750270ad53ec0c21fd69c (patch) | |
| tree | b06c623ab7939b2f8c29405bd9da1087c1e7e5bb /src/framework | |
| parent | Unwrap `rfind` (diff) | |
| download | serenity-eef1a89df0e95a003ea750270ad53ec0c21fd69c.tar.xz serenity-eef1a89df0e95a003ea750270ad53ec0c21fd69c.zip | |
Reword `ArgError`'s docs a little
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/standard/args.rs | 5 |
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), } |