diff options
| author | Illia <[email protected]> | 2016-12-31 16:39:46 +0300 |
|---|---|---|
| committer | Illia <[email protected]> | 2016-12-31 16:39:46 +0300 |
| commit | 52e871383317c85ce8144ecae4120633da367928 (patch) | |
| tree | 64f3fedc2f4d9a8be97c2c1731ed947968fc634a /src/utils | |
| parent | Add command alias support and command.example (diff) | |
| download | serenity-52e871383317c85ce8144ecae4120633da367928.tar.xz serenity-52e871383317c85ce8144ecae4120633da367928.zip | |
Fix typo
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/builder/search.rs | 4 | ||||
| -rw-r--r-- | src/utils/colour.rs | 6 | ||||
| -rw-r--r-- | src/utils/message_builder.rs | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/utils/builder/search.rs b/src/utils/builder/search.rs index 1aadec4..47863ca 100644 --- a/src/utils/builder/search.rs +++ b/src/utils/builder/search.rs @@ -19,7 +19,7 @@ pub enum SortingMode { } impl SortingMode { - /// Retrieves the name of the sorting mode. This is equivilant to a + /// Retrieves the name of the sorting mode. This is equivalent to a /// lowercase string version of each variant. pub fn name(&self) -> &str { match *self { @@ -60,7 +60,7 @@ pub enum SortingOrder { } impl SortingOrder { - /// Retrieves the name of the sorting order. This is equivilant to a + /// Retrieves the name of the sorting order. This is equivalent to a /// lowercase string version of each variant. pub fn name(&self) -> &str { match *self { diff --git a/src/utils/colour.rs b/src/utils/colour.rs index 47ed7e8..a40d356 100644 --- a/src/utils/colour.rs +++ b/src/utils/colour.rs @@ -19,7 +19,7 @@ macro_rules! colour { /// as the API works with an integer value instead of an RGB value. /// /// Instances can be created by using the struct's associated functions. These -/// produce presets equivilant to those found in the official client's colour +/// produce presets equivalent to those found in the official client's colour /// picker. /// /// # Examples @@ -76,7 +76,7 @@ impl Colour { /// /// # Examples /// - /// Create a new Colour, and then ensure that its inner value is equivilant + /// Create a new Colour, and then ensure that its inner value is equivalent /// to a specific RGB value, retrieved via [`get_tuple`]: /// /// ```rust @@ -177,7 +177,7 @@ impl Colour { /// Returns a tuple of the red, green, and blue components of this Colour. /// - /// This is equivilant to creating a tuple with the return values of + /// This is equivalent to creating a tuple with the return values of /// [`get_r`], [`get_g`], and [`get_b`]. /// /// # Examples diff --git a/src/utils/message_builder.rs b/src/utils/message_builder.rs index a93468e..4205f1b 100644 --- a/src/utils/message_builder.rs +++ b/src/utils/message_builder.rs @@ -40,7 +40,7 @@ impl MessageBuilder { /// /// # Examples /// - /// This is equivilant to simply retrieving the tuple struct's first value: + /// This is equivalent to simply retrieving the tuple struct's first value: /// /// ```rust /// use serenity::utils::MessageBuilder; |