aboutsummaryrefslogtreecommitdiff
path: root/src/model/guild.rs
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/guild.rs
parentAdd command alias support and command.example (diff)
downloadserenity-52e871383317c85ce8144ecae4120633da367928.tar.xz
serenity-52e871383317c85ce8144ecae4120633da367928.zip
Fix typo
Diffstat (limited to 'src/model/guild.rs')
-rw-r--r--src/model/guild.rs2
1 files changed, 1 insertions, 1 deletions
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 {