aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard/command.rs
diff options
context:
space:
mode:
authorPerry Fraser <[email protected]>2018-10-01 16:38:07 -0400
committerzeyla <[email protected]>2018-10-01 13:38:07 -0700
commit9865d9ccd727a7f6c5c9a6094b87af0f6353831b (patch)
treeb9d13d1ff517347da19d198b257481fffbbb68db /src/framework/standard/command.rs
parentChange DOS line endings to UNIX line endings (diff)
downloadserenity-9865d9ccd727a7f6c5c9a6094b87af0f6353831b.tar.xz
serenity-9865d9ccd727a7f6c5c9a6094b87af0f6353831b.zip
A bunch of typo fixes (#404)
Diffstat (limited to 'src/framework/standard/command.rs')
-rw-r--r--src/framework/standard/command.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/framework/standard/command.rs b/src/framework/standard/command.rs
index 2b1149e..6f4440f 100644
--- a/src/framework/standard/command.rs
+++ b/src/framework/standard/command.rs
@@ -81,7 +81,7 @@ impl fmt::Debug for CommandOrAlias {
#[derive(Clone, Debug)]
pub struct Error(pub String);
-// TODO: Have seperate `From<(&)String>` and `From<&str>` impls via specialization
+// TODO: Have separate `From<(&)String>` and `From<&str>` impls via specialization
impl<D: fmt::Display> From<D> for Error {
fn from(d: D) -> Self {
Error(d.to_string())
@@ -141,7 +141,7 @@ pub struct CommandOptions {
pub example: Option<String>,
/// Command usage schema, used by other commands.
pub usage: Option<String>,
- /// Minumum amount of arguments that should be passed.
+ /// Minimum amount of arguments that should be passed.
pub min_args: Option<i32>,
/// Maximum amount of arguments that can be passed.
pub max_args: Option<i32>,
@@ -216,7 +216,7 @@ pub struct HelpOptions {
pub wrong_channel: HelpBehaviour,
/// Colour help-embed will use upon encountering an error.
pub embed_error_colour: Colour,
- /// Colour help-embed will use if no error occured.
+ /// Colour help-embed will use if no error occurred.
pub embed_success_colour: Colour,
/// If not 0, help will check whether a command is similar to searched named.
pub max_levenshtein_distance: usize,