aboutsummaryrefslogtreecommitdiff
path: root/src/client/context.rs
diff options
context:
space:
mode:
authorLakelezz <[email protected]>2018-12-07 23:12:34 +0100
committerAlex M. M <[email protected]>2018-12-07 23:12:34 +0100
commitc36bd39dda9c548b5a83b6f0df20ccdff9cd0fb8 (patch)
treeba43473c21c6129c2f3f85c24193374e99c2f157 /src/client/context.rs
parentChange all builders to mutably borrow (#443) (diff)
downloadserenity-c36bd39dda9c548b5a83b6f0df20ccdff9cd0fb8.tar.xz
serenity-c36bd39dda9c548b5a83b6f0df20ccdff9cd0fb8.zip
Update to Rust 2018 (#445)
Diffstat (limited to 'src/client/context.rs')
-rw-r--r--src/client/context.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/client/context.rs b/src/client/context.rs
index 04fe642..8a08213 100644
--- a/src/client/context.rs
+++ b/src/client/context.rs
@@ -1,10 +1,10 @@
-use builder::EditProfile;
-use CACHE;
-use client::bridge::gateway::ShardMessenger;
-use error::Result;
-use gateway::InterMessage;
-use http;
-use model::prelude::*;
+use crate::builder::EditProfile;
+use crate::CACHE;
+use crate::client::bridge::gateway::ShardMessenger;
+use crate::error::Result;
+use crate::gateway::InterMessage;
+use crate::http;
+use crate::model::prelude::*;
use parking_lot::Mutex;
use serde_json::Value;
use std::sync::{
@@ -12,8 +12,8 @@ use std::sync::{
mpsc::Sender
};
use typemap::ShareMap;
-use utils::VecMap;
-use utils::vecmap_to_json_map;
+use crate::utils::VecMap;
+use crate::utils::vecmap_to_json_map;
/// The context is a general utility struct provided on event dispatches, which
/// helps with dealing with the current "context" of the event dispatch.