Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrasnitski committed Nov 18, 2024
1 parent 6c67796 commit a29584c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/builder/create_attachment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ use serde::ser::{Serialize, SerializeSeq, Serializer};
use tokio::fs::File;
use tokio::io::AsyncReadExt;

#[expect(unused)] // Error is used in docs
use crate::error::{Error, Result};
#[cfg(doc)]
use crate::error::Error;
use crate::error::Result;
#[cfg(feature = "http")]
use crate::http::Http;
use crate::model::channel::Message;
Expand Down

0 comments on commit a29584c

Please sign in to comment.