aboutsummaryrefslogtreecommitdiff
path: root/src/model
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/model
parentAdd command alias support and command.example (diff)
downloadserenity-52e871383317c85ce8144ecae4120633da367928.tar.xz
serenity-52e871383317c85ce8144ecae4120633da367928.zip
Fix typo
Diffstat (limited to 'src/model')
-rw-r--r--src/model/channel.rs2
-rw-r--r--src/model/guild.rs2
-rw-r--r--src/model/invite.rs4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/model/channel.rs b/src/model/channel.rs
index 8169b9c..acf8d26 100644
--- a/src/model/channel.rs
+++ b/src/model/channel.rs
@@ -863,7 +863,7 @@ impl PrivateChannel {
}
/// Deletes the channel. This does not delete the contents of the channel,
- /// and is equivilant to closing a private channel on the client, which can
+ /// and is equivalent to closing a private channel on the client, which can
/// be re-opened.
#[cfg(feature="methods")]
pub fn delete(&self) -> Result<Channel> {
diff --git a/src/model/guild.rs b/src/model/guild.rs
index 763c610..74385a1 100644
--- a/src/model/guild.rs
+++ b/src/model/guild.rs
@@ -1289,7 +1289,7 @@ impl Role {
/// Checks whether the role has all of the given permissions.
///
/// The 'precise' argument is used to check if the role's permissions are
- /// precisely equivilant to the given permissions. If you need only check
+ /// precisely equivalent to the given permissions. If you need only check
/// that the role has at least the given permissions, pass `false`.
pub fn has_permissions(&self, permissions: Permissions, precise: bool)
-> bool {
diff --git a/src/model/invite.rs b/src/model/invite.rs
index 0d68ff0..adfba60 100644
--- a/src/model/invite.rs
+++ b/src/model/invite.rs
@@ -16,7 +16,7 @@ impl Invite {
/// Refer to [`rest::accept_invite`] for more information.
///
/// **Note**: This will fail if you are already in the guild, or are banned.
- /// A ban is equivilant to an IP ban.
+ /// A ban is equivalent to an IP ban.
///
/// **Note**: Requires that the current user be a user account.
///
@@ -76,7 +76,7 @@ impl RichInvite {
/// Refer to [`rest::accept_invite`] for more information.
///
/// **Note**: This will fail if you are already in the guild, or are banned.
- /// A ban is equivilant to an IP ban.
+ /// A ban is equivalent to an IP ban.
///
/// **Note**: Requires that the current user be a user account.
///