diff options
| author | acdenisSK <[email protected]> | 2018-04-06 21:54:59 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2018-04-06 21:54:59 +0200 |
| commit | a6eda12980d7410c8be41a4f2748bd57d65fcb52 (patch) | |
| tree | 9356ca76c8b4ec1e5239eab82e47c9b07548f0a5 /src/framework | |
| parent | Improve docs for `Args` (diff) | |
| download | serenity-a6eda12980d7410c8be41a4f2748bd57d65fcb52.tar.xz serenity-a6eda12980d7410c8be41a4f2748bd57d65fcb52.zip | |
Be consistent with the note style
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/standard/args.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/framework/standard/args.rs b/src/framework/standard/args.rs index 6d37822..1a67bee 100644 --- a/src/framework/standard/args.rs +++ b/src/framework/standard/args.rs @@ -140,8 +140,10 @@ fn parse<T: FromStr>(s: &mut String, delimiters: &[String]) -> Result<T, T::Err> /// Majority of the methods here remove the argument as to advance to further arguments. /// If you do not wish for this behaviour, use the suffixed `*_n` methods instead. /// +/// /// `Args` provides parsing arguments inside quotes too (for which case, delimiters don't matter), via the suffixed `*_quoted` methods. -/// *note: these fall back to the normal methods' behaviour if the quotes are malformed; i.e missing an opening or closing quote* +/// +/// **Note**: these fall back to the normal methods' behaviour if the quotes are malformed; i.e missing an opening or closing quote. #[derive(Clone, Debug)] pub struct Args { delimiters: Vec<String>, |