Skip to content

Commit

Permalink
Fix compilation from rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
arqunis committed Mar 1, 2024
1 parent d08bfaa commit 17e4ac1
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion src/http/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ use super::{
use crate::builder::CreateAttachment;
use crate::constants;
use crate::internal::prelude::*;
use crate::json::*;
use crate::model::prelude::*;

#[derive(Clone)]
Expand Down
1 change: 0 additions & 1 deletion src/model/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use serde::de::Error as DeError;
use serde::Serialize;

Check failure on line 11 in src/model/event.rs

View workflow job for this annotation

GitHub Actions / Format

Diff in /home/runner/work/serenity/serenity/src/model/event.rs
use tracing::{debug, warn};

use crate::constants::Opcode;
use crate::model::prelude::*;
use crate::model::utils::{
deserialize_val,
Expand Down
2 changes: 0 additions & 2 deletions src/model/guild/guild_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ use crate::gateway::ShardMessenger;
use crate::http::{CacheHttp, Http, UserPagination};
#[cfg(feature = "model")]
use crate::internal::prelude::*;
#[cfg(feature = "model")]
use crate::json::json;
use crate::model::guild::SerializeIter;
use crate::model::prelude::*;

Expand Down
2 changes: 1 addition & 1 deletion src/model/guild/integration.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::model::prelude::*;

Check failure on line 1 in src/model/guild/integration.rs

View workflow job for this annotation

GitHub Actions / Format

Diff in /home/runner/work/serenity/serenity/src/model/guild/integration.rs

use nonmax::{NonMaxU32, NonMaxU64};
use nonmax::NonMaxU32;

use super::*;

Check failure on line 6 in src/model/guild/integration.rs

View workflow job for this annotation

GitHub Actions / Format

Diff in /home/runner/work/serenity/serenity/src/model/guild/integration.rs
Expand Down
1 change: 0 additions & 1 deletion src/model/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ use crate::gateway::ShardMessenger;
#[cfg(feature = "model")]
use crate::http::{CacheHttp, Http};
use crate::internal::prelude::*;
use crate::model::mention::Mentionable;
#[cfg(feature = "model")]
use crate::model::utils::avatar_url;

Expand Down
1 change: 0 additions & 1 deletion src/model/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use std::marker::PhantomData;

use arrayvec::ArrayVec;
use serde::ser::{Serialize, SerializeSeq, Serializer};
use small_fixed_array::FixedString;

use super::prelude::*;
use crate::internal::prelude::*;
Expand Down

0 comments on commit 17e4ac1

Please sign in to comment.