Skip to content

Commit

Permalink
Fix unused warnings when builder feature is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrasnitski committed Sep 13, 2024
1 parent c5eb108 commit 1f23dda
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/builder/create_command.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use std::borrow::Cow;
use std::collections::HashMap;

#[cfg(feature = "http")]
use crate::http::Http;
Expand Down
1 change: 1 addition & 0 deletions src/builder/create_interaction_response.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use std::borrow::Cow;
use std::collections::HashMap;

use serde_json::json;

Expand Down
2 changes: 0 additions & 2 deletions src/model/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ pub use self::timestamp::Timestamp;
/// use serenity::model::prelude::*;
/// ```
pub mod prelude {
pub(crate) use std::collections::HashMap;

pub(crate) use serde::{Deserialize, Deserializer};

pub use super::guild::automod::EventType as AutomodEventType;
Expand Down

0 comments on commit 1f23dda

Please sign in to comment.