diff options
| author | acdenisSK <[email protected]> | 2018-03-29 12:10:43 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2018-03-29 12:11:23 +0200 |
| commit | 4c05e828d5191975ef1a5e1ac581b646a69d2c25 (patch) | |
| tree | fb583f88a1e5d192651b399aca1839f3f58e661e /src/model/utils.rs | |
| parent | Add a connection timeout (diff) | |
| download | serenity-4c05e828d5191975ef1a5e1ac581b646a69d2c25.tar.xz serenity-4c05e828d5191975ef1a5e1ac581b646a69d2c25.zip | |
Refactor imports/exports to use nested groups and better formatting
Diffstat (limited to 'src/model/utils.rs')
| -rw-r--r-- | src/model/utils.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/model/utils.rs b/src/model/utils.rs index 981b61b..f057047 100644 --- a/src/model/utils.rs +++ b/src/model/utils.rs @@ -1,9 +1,11 @@ use parking_lot::RwLock; use serde::de::Error as DeError; use serde::ser::{SerializeSeq, Serialize, Serializer}; -use std::collections::HashMap; -use std::hash::Hash; -use std::sync::Arc; +use std::{ + collections::HashMap, + hash::Hash, + sync::Arc +}; use super::prelude::*; #[cfg(feature = "cache")] |