diff options
| author | Zeyla Hellyer <[email protected]> | 2018-01-20 09:11:37 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-01-20 09:11:37 -0800 |
| commit | 7f4dbc292d7f6500e93b20bdb7456eec84671d6f (patch) | |
| tree | 6cd22f77ed0916b98f96b2191229be73a677fb56 /src/model/channel/channel_category.rs | |
| parent | Fix no-cache compilation (diff) | |
| download | serenity-7f4dbc292d7f6500e93b20bdb7456eec84671d6f.tar.xz serenity-7f4dbc292d7f6500e93b20bdb7456eec84671d6f.zip | |
Fix compilation for some feature combinations
Diffstat (limited to 'src/model/channel/channel_category.rs')
| -rw-r--r-- | src/model/channel/channel_category.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/channel/channel_category.rs b/src/model/channel/channel_category.rs index e9e6ccf..7a49c7e 100644 --- a/src/model/channel/channel_category.rs +++ b/src/model/channel/channel_category.rs @@ -81,7 +81,7 @@ impl ChannelCategory { /// ```rust,ignore /// category.edit(|c| c.name("test").bitrate(86400)); /// ``` - #[cfg(all(feature = "builder", feature = "model"))] + #[cfg(all(feature = "builder", feature = "model", feature = "utils"))] pub fn edit<F>(&mut self, f: F) -> Result<()> where F: FnOnce(EditChannel) -> EditChannel { #[cfg(feature = "cache")] |