Skip to content

Commit

Permalink
Silence clippy false positive (serenity-rs#2279)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangalio authored and mkrasnitski committed Oct 17, 2023
1 parent c0496e5 commit da090a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/model/channel/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ pub type AttachmentType<'a> = crate::builder::CreateAttachment;
#[derive(Clone, Debug, Serialize)]
#[serde(untagged)]
#[non_exhaustive]
#[allow(clippy::large_enum_variant)] // https://github.com/rust-lang/rust-clippy/issues/9798
pub enum Channel {
/// A channel within a [`Guild`].
Guild(GuildChannel),
Expand Down

0 comments on commit da090a1

Please sign in to comment.