Skip to content

Commit

Permalink
Revert more Clippy fixes.
Browse files Browse the repository at this point in the history
These Clippy warnings werent introduced by me, and @laralove143 requested me to revert them.
  • Loading branch information
rickmartensnl committed Aug 3, 2024
1 parent 644fd0d commit d27c529
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions twilight-util/src/permission_calculator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! like:
//!
//! - `@everyone` role is allowed the [Embed Links] and [Add Reactions]
//! permissions; and
//! permissions; and
//! - member is denied the [Send Messages] permission.
//!
//! Taking into account the guild root-level permissions and the permission
Expand Down Expand Up @@ -230,11 +230,11 @@ impl<'a> PermissionCalculator<'a> {
/// circumstances:
///
/// - When the permission is denied on the role level and
/// isn't enabled on a role or member permission overwrite;
/// isn't enabled on a role or member permission overwrite;
/// - When the permission is denied on a role permission overwrite but isn't
/// enabled on a member permission overwrite; or
/// enabled on a member permission overwrite; or
/// - When permission isn't enabled on a guild level and isn't enabled via a
/// permission overwrite.
/// permission overwrite.
///
/// When the [Send Messages] permission is denied and is not similarly
/// enabled like above then the [Attach Files], [Embed Links],
Expand Down

0 comments on commit d27c529

Please sign in to comment.