chore: make improvements suggested by clippy
This commit is contained in:
@@ -1,14 +1,5 @@
|
||||
type VCsInGuild = OneToManyUniqueBTreeMapWithData<Id<ChannelMarker>, Id<UserMarker>, UserInVCData>;
|
||||
|
||||
pub type VCs = DashMap<Id<GuildMarker>, VCsInGuild>;
|
||||
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
use dashmap::DashMap;
|
||||
use futures::{
|
||||
StreamExt,
|
||||
stream::{self, FuturesUnordered},
|
||||
};
|
||||
use futures::{StreamExt, stream::FuturesUnordered};
|
||||
use twilight_model::{
|
||||
gateway::payload::incoming::VoiceStateUpdate,
|
||||
id::{
|
||||
@@ -19,6 +10,10 @@ use twilight_model::{
|
||||
|
||||
use crate::{OneToManyUniqueBTreeMapWithData, UserInVCData, VoiceStatus};
|
||||
|
||||
type VCsInGuild = OneToManyUniqueBTreeMapWithData<Id<ChannelMarker>, Id<UserMarker>, UserInVCData>;
|
||||
|
||||
pub type VCs = DashMap<Id<GuildMarker>, VCsInGuild>;
|
||||
|
||||
#[tracing::instrument(skip(discord_client), ret)]
|
||||
async fn initialize_user_in_vc(
|
||||
discord_client: &twilight_http::Client,
|
||||
|
||||
Reference in New Issue
Block a user