From 0784dd2164655cc189dae8cef516db3f6fdc8ede Mon Sep 17 00:00:00 2001 From: Austin Hellyer Date: Sat, 26 Nov 2016 11:16:54 -0800 Subject: Remove the 'extras' feature flag There aren't many things behind this flag (6), and it only causes annoyances for locally-generated docs, which won't show these mostly-useful items behind the flag. --- src/model/permissions.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/model') diff --git a/src/model/permissions.rs b/src/model/permissions.rs index 3f164fe..1c613d3 100644 --- a/src/model/permissions.rs +++ b/src/model/permissions.rs @@ -82,7 +82,6 @@ use ::internal::prelude::*; /// [Speak]: constant.SPEAK.html /// [Use External Emojis]: constant.USE_EXTERNAL_EMOJIS.html /// [Use VAD]: constant.USE_VAD.html -#[cfg(feature="extras")] pub fn general() -> Permissions { use self::*; @@ -120,7 +119,6 @@ pub fn general() -> Permissions { /// [Send Messages]: constant.SEND_MESSAGES.html /// [Send TTS Messages]: constant.SEND_TTS_MESSAGES.html /// [Use External Emojis]: constant.USE_EXTERNAL_EMOJIS.html -#[cfg(feature="extras")] pub fn text() -> Permissions { use self::*; @@ -142,7 +140,6 @@ pub fn text() -> Permissions { /// [Connect]: constant.CONNECT.html /// [Speak]: constant.SPEAK.html /// [Use VAD]: constant.USE_VAD.html -#[cfg(feature="extras")] pub fn voice() -> Permissions { use self::*; -- cgit v1.2.3