diff options
| author | Perry Fraser <[email protected]> | 2018-10-01 16:38:07 -0400 |
|---|---|---|
| committer | zeyla <[email protected]> | 2018-10-01 13:38:07 -0700 |
| commit | 9865d9ccd727a7f6c5c9a6094b87af0f6353831b (patch) | |
| tree | b9d13d1ff517347da19d198b257481fffbbb68db /src/framework/standard/create_help_command.rs | |
| parent | Change DOS line endings to UNIX line endings (diff) | |
| download | serenity-9865d9ccd727a7f6c5c9a6094b87af0f6353831b.tar.xz serenity-9865d9ccd727a7f6c5c9a6094b87af0f6353831b.zip | |
A bunch of typo fixes (#404)
Diffstat (limited to 'src/framework/standard/create_help_command.rs')
| -rw-r--r-- | src/framework/standard/create_help_command.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/framework/standard/create_help_command.rs b/src/framework/standard/create_help_command.rs index b8eb57a..c05cb32 100644 --- a/src/framework/standard/create_help_command.rs +++ b/src/framework/standard/create_help_command.rs @@ -126,7 +126,7 @@ impl CreateHelpCommand { self } - /// Sets how the group-prexix shall be labeled. + /// Sets how the group-prefix shall be labeled. pub fn group_prefix(mut self, text: &str) -> Self { self.0.group_prefix = text.to_string(); @@ -204,14 +204,14 @@ impl CreateHelpCommand { self } - /// Sets the colour for the embed if no error occured. + /// Sets the colour for the embed if no error occurred. pub fn embed_success_colour(mut self, colour: Colour) -> Self { self.0.embed_success_colour = colour; self } - /// Sets the colour for the embed if an error occured. + /// Sets the colour for the embed if an error occurred. pub fn embed_error_colour(mut self, colour: Colour) -> Self { self.0.embed_error_colour = colour; |