aboutsummaryrefslogtreecommitdiff
path: root/src/model/utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/utils.rs')
-rw-r--r--src/model/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/utils.rs b/src/model/utils.rs
index e4b2445..28f5874 100644
--- a/src/model/utils.rs
+++ b/src/model/utils.rs
@@ -260,7 +260,7 @@ pub fn remove(map: &mut BTreeMap<String, Value>, key: &str) -> Result<Value> {
}
#[doc(hidden)]
-#[cfg(all(feature = "cache", feature="methods"))]
+#[cfg(all(feature="cache", feature="methods"))]
pub fn user_has_perms(channel_id: ChannelId,
mut permissions: Permissions)
-> Result<bool> {