diff options
| author | alex <[email protected]> | 2017-06-14 18:26:01 +0200 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-06-14 09:26:01 -0700 |
| commit | 32e07e4ac822d5cc1118f0db0fc92b549c1aaf81 (patch) | |
| tree | a4db15956faac92d544135de6885d64854a8b31d /src/voice/threading.rs | |
| parent | Use HTTPS Connector with remaining HTTP functions (diff) | |
| download | serenity-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.rs | 2 |
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() |