Skip to content

Commit 2ddc938

Browse files
kangalioarqunis
authored andcommitted
Silence clippy false positive (#2279)
Reported in rust-lang/rust-clippy#9798
1 parent 5e07c4a commit 2ddc938

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/model/channel/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ pub type AttachmentType<'a> = crate::builder::CreateAttachment;
4444
#[derive(Clone, Debug, Serialize)]
4545
#[serde(untagged)]
4646
#[non_exhaustive]
47+
#[allow(clippy::large_enum_variant)] // https://github.com/rust-lang/rust-clippy/issues/9798
4748
pub enum Channel {
4849
/// A channel within a [`Guild`].
4950
Guild(GuildChannel),

0 commit comments

Comments
 (0)