aboutsummaryrefslogtreecommitdiff
path: root/src/voice/threading.rs
diff options
context:
space:
mode:
authoralex <[email protected]>2017-06-14 18:26:01 +0200
committerZeyla Hellyer <[email protected]>2017-06-14 09:26:01 -0700
commit32e07e4ac822d5cc1118f0db0fc92b549c1aaf81 (patch)
treea4db15956faac92d544135de6885d64854a8b31d /src/voice/threading.rs
parentUse HTTPS Connector with remaining HTTP functions (diff)
downloadserenity-32e07e4ac822d5cc1118f0db0fc92b549c1aaf81.tar.xz
serenity-32e07e4ac822d5cc1118f0db0fc92b549c1aaf81.zip
Switch from #[doc(hidden)] to pub(crate)
Switch from using `#[doc(hidden)]` to hide some internal functions to `pub(crate)`. The library now requires rustc 1.18.
Diffstat (limited to 'src/voice/threading.rs')
-rw-r--r--src/voice/threading.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voice/threading.rs b/src/voice/threading.rs
index 4777231..fe0aebc 100644
--- a/src/voice/threading.rs
+++ b/src/voice/threading.rs
@@ -5,7 +5,7 @@ use super::Status;
use ::internal::Timer;
use ::model::GuildId;
-pub fn start(guild_id: GuildId, rx: MpscReceiver<Status>) {
+pub(crate) fn start(guild_id: GuildId, rx: MpscReceiver<Status>) {
let name = format!("Serenity Voice (G{})", guild_id);
ThreadBuilder::new()