diff options
| author | Zeyla Hellyer <[email protected]> | 2017-09-18 10:47:19 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-09-18 17:48:37 -0700 |
| commit | 8e3b4d601ffb78909db859640482f7e0bb10131f (patch) | |
| tree | 16500c9274a0517a776ea707bb623d1c9947d8cf /src/model/channel/group.rs | |
| parent | Apply rustfmt (diff) | |
| download | serenity-8e3b4d601ffb78909db859640482f7e0bb10131f.tar.xz serenity-8e3b4d601ffb78909db859640482f7e0bb10131f.zip | |
Fix compiles of a variety of feature combinations
This fixes compilation errors and warnings when compiling a mixture of
non-default feature targets.
Diffstat (limited to 'src/model/channel/group.rs')
| -rw-r--r-- | src/model/channel/group.rs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/model/channel/group.rs b/src/model/channel/group.rs index ad20fcd..438437c 100644 --- a/src/model/channel/group.rs +++ b/src/model/channel/group.rs @@ -1,15 +1,16 @@ use chrono::{DateTime, FixedOffset}; use model::*; -use internal::RwLockExt; #[cfg(feature = "model")] -use std::borrow::Cow; -#[cfg(feature = "model")] -use std::fmt::Write as FmtWrite; -#[cfg(feature = "model")] use builder::{CreateMessage, GetMessages}; #[cfg(feature = "model")] use http::{self, AttachmentType}; +#[cfg(feature="model")] +use internal::RwLockExt; +#[cfg(feature = "model")] +use std::borrow::Cow; +#[cfg(feature = "model")] +use std::fmt::Write as FmtWrite; /// A group channel - potentially including other [`User`]s - separate from a /// [`Guild`]. |