diff options
| author | Austin Hellyer <[email protected]> | 2016-11-26 11:16:54 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-26 11:16:54 -0800 |
| commit | 0784dd2164655cc189dae8cef516db3f6fdc8ede (patch) | |
| tree | 23b4934463875c69d076320173d4fac79e896b5f /src/model | |
| parent | Tiny import re-order (diff) | |
| download | serenity-0784dd2164655cc189dae8cef516db3f6fdc8ede.tar.xz serenity-0784dd2164655cc189dae8cef516db3f6fdc8ede.zip | |
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.
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/permissions.rs | 3 |
1 files changed, 0 insertions, 3 deletions
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::*; |