diff options
| author | Zeyla Hellyer <[email protected]> | 2017-06-02 08:26:24 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-06-02 08:26:24 -0700 |
| commit | 7a96b8a1356e50b2bff5d5e03d43361a052517c6 (patch) | |
| tree | d0df182f288e959bd73f4c610c7af4f0dfacf5a8 /src/model/channel/group.rs | |
| parent | Add User::refresh (diff) | |
| download | serenity-7a96b8a1356e50b2bff5d5e03d43361a052517c6.tar.xz serenity-7a96b8a1356e50b2bff5d5e03d43361a052517c6.zip | |
Fix compilations across feature combinations
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 6adedc6..ca4d48f 100644 --- a/src/model/channel/group.rs +++ b/src/model/channel/group.rs @@ -1,14 +1,15 @@ +use ::model::*; + +#[cfg(feature="model")] use std::borrow::Cow; +#[cfg(feature="model")] use std::fmt::Write as FmtWrite; +#[cfg(feature="model")] use std::io::Read; -use ::model::*; - #[cfg(feature="model")] use ::builder::{CreateMessage, GetMessages}; #[cfg(feature="model")] -use ::http; -#[cfg(feature="model")] -use ::http::AttachmentType; +use ::http::{self, AttachmentType}; /// A group channel - potentially including other [`User`]s - separate from a /// [`Guild`]. |