diff options
| author | Zeyla Hellyer <[email protected]> | 2017-09-18 10:06:46 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-09-18 10:45:31 -0700 |
| commit | 52b8e29193801aa254ac7ab105331fb6b0e8eec1 (patch) | |
| tree | f7282ec364a0deb9f61d50a683047ec5c021f4f6 /src | |
| parent | Use combinators in `parse_header` (diff) | |
| download | serenity-52b8e29193801aa254ac7ab105331fb6b0e8eec1.tar.xz serenity-52b8e29193801aa254ac7ab105331fb6b0e8eec1.zip | |
Gate ChannelCategory impl behind 'model' feature
The rest of the models in the model module have their implementations
gated behind the "model" feature, so do the same here.
Diffstat (limited to 'src')
| -rw-r--r-- | src/model/channel/channel_category.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model/channel/channel_category.rs b/src/model/channel/channel_category.rs index 9a56234..554a656 100644 --- a/src/model/channel/channel_category.rs +++ b/src/model/channel/channel_category.rs @@ -33,6 +33,7 @@ pub struct ChannelCategory { pub permission_overwrites: Vec<PermissionOverwrite>, } +#[cfg(feature = "model")] impl ChannelCategory { /// Adds a permission overwrite to the category's channels. #[inline] |