Remove warnings
This commit is contained in:
parent
e4dc5e2446
commit
67e26a4c68
3 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
#![allow(non_snake_case)]
|
||||||
|
|
||||||
extern crate serenity;
|
extern crate serenity;
|
||||||
|
|
||||||
extern crate parking_lot;
|
extern crate parking_lot;
|
||||||
|
|
|
@ -93,7 +93,7 @@ impl Play {
|
||||||
msg: &serenity::model::channel::Message,
|
msg: &serenity::model::channel::Message,
|
||||||
url: &String,
|
url: &String,
|
||||||
) {
|
) {
|
||||||
let mut source = match youtube_dl(&url) {
|
let source = match youtube_dl(&url) {
|
||||||
Ok(source) => source,
|
Ok(source) => source,
|
||||||
Err(why) => {
|
Err(why) => {
|
||||||
println!("Err starting source: {:?}", why);
|
println!("Err starting source: {:?}", why);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
use serenity;
|
use serenity;
|
||||||
use serenity::model::id::ChannelId;
|
use serenity::model::id::ChannelId;
|
||||||
use serenity::voice::ffmpeg;
|
use serenity::voice::ffmpeg;
|
||||||
use serenity::voice::{AudioSource, LockedAudio};
|
use serenity::voice::LockedAudio;
|
||||||
|
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
use std::ops::DerefMut;
|
use std::ops::DerefMut;
|
||||||
|
|
Loading…
Reference in a new issue