From 928fd4314db88c623ea991de4e6e669027f57848 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Thu, 24 Jan 2019 19:03:37 -0500 Subject: improve imports --- src/commands/playback/mod.rs | 7 +++++-- src/commands/playback/types.rs | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'src/commands/playback') diff --git a/src/commands/playback/mod.rs b/src/commands/playback/mod.rs index bbcbd74..efb2553 100644 --- a/src/commands/playback/mod.rs +++ b/src/commands/playback/mod.rs @@ -1,9 +1,12 @@ use either::{Left, Right}; -use serenity::voice::{LockedAudio, ytdl}; +use serenity::{ + voice::{LockedAudio, ytdl}, + model::id::ChannelId, + framework::standard::Args, +}; use super::*; pub use self::types::*; -use serenity::framework::standard::Args; mod types; diff --git a/src/commands/playback/types.rs b/src/commands/playback/types.rs index 2035bd9..9c1a878 100644 --- a/src/commands/playback/types.rs +++ b/src/commands/playback/types.rs @@ -1,7 +1,10 @@ +use std::{ + sync::{Arc, RwLock}, + collections::VecDeque, +}; + use serenity::client::bridge::voice::ClientVoiceManager; use typemap::Key; -use std::sync::{Arc, RwLock}; -use std::collections::VecDeque; use either::{Either, Left, Right}; -- cgit v1.3.1