aboutsummaryrefslogtreecommitdiff
path: root/src/model/channel/channel_category.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/channel/channel_category.rs')
-rw-r--r--src/model/channel/channel_category.rs2
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")]