aboutsummaryrefslogtreecommitdiff
path: root/src/ext
diff options
context:
space:
mode:
authorIllia <[email protected]>2016-12-31 16:39:46 +0300
committerIllia <[email protected]>2016-12-31 16:39:46 +0300
commit52e871383317c85ce8144ecae4120633da367928 (patch)
tree64f3fedc2f4d9a8be97c2c1731ed947968fc634a /src/ext
parentAdd command alias support and command.example (diff)
downloadserenity-52e871383317c85ce8144ecae4120633da367928.tar.xz
serenity-52e871383317c85ce8144ecae4120633da367928.zip
Fix typo
Diffstat (limited to 'src/ext')
-rw-r--r--src/ext/cache/mod.rs4
-rw-r--r--src/ext/voice/handler.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ext/cache/mod.rs b/src/ext/cache/mod.rs
index c09e1d8..7d6255e 100644
--- a/src/ext/cache/mod.rs
+++ b/src/ext/cache/mod.rs
@@ -144,8 +144,8 @@ pub struct Cache {
pub guilds: HashMap<GuildId, Guild>,
/// A map of notes that a user has made for individual users.
///
- /// An empty note is equivilant to having no note, and creating an empty
- /// note is equivilant to deleting a note.
+ /// An empty note is equivalent to having no note, and creating an empty
+ /// note is equivalent to deleting a note.
///
/// This will always be empty for bot users.
pub notes: HashMap<UserId, String>,
diff --git a/src/ext/voice/handler.rs b/src/ext/voice/handler.rs
index 05f977d..f954d22 100644
--- a/src/ext/voice/handler.rs
+++ b/src/ext/voice/handler.rs
@@ -211,9 +211,9 @@ impl Handler {
///
/// This has 3 separate behaviors:
///
- /// - if the given `channel_id` is equivilant to the current connected
+ /// - if the given `channel_id` is equivalent to the current connected
/// `channel_id`, then do nothing;
- /// - if the given `channel_id` is _not_ equivilant to the current connected
+ /// - if the given `channel_id` is _not_ equivalent to the current connected
/// `channel_id`, then switch to the given `channel_id`;
/// - if not currently connected to a voice channel, connect to the given
/// one.