Skip to content

Commit

Permalink
Perform some minor cleanups (serenity-rs#3051)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrasnitski authored Nov 19, 2024
1 parent 099315f commit 1a0a809
Show file tree
Hide file tree
Showing 2 changed files 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
File renamed without changes.

0 comments on commit 1a0a809

Please sign in to comment.