aboutsummaryrefslogtreecommitdiff
path: root/tests/test_formatters.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_formatters.rs')
-rw-r--r--tests/test_formatters.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_formatters.rs b/tests/test_formatters.rs
index b48c648..fbc60ca 100644
--- a/tests/test_formatters.rs
+++ b/tests/test_formatters.rs
@@ -1,3 +1,4 @@
+extern crate parking_lot;
extern crate serenity;
use serenity::model::*;
@@ -14,8 +15,9 @@ fn test_formatters() {
#[cfg(feature = "utils")]
#[test]
fn test_mention() {
+ use parking_lot::RwLock;
use serenity::utils::Colour;
- use std::sync::{Arc, RwLock};
+ use std::sync::Arc;
let channel = Channel::Guild(Arc::new(RwLock::new(GuildChannel {
bitrate: None,