aboutsummaryrefslogtreecommitdiff
path: root/src/cache
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-07-10 08:01:23 -0700
committerZeyla Hellyer <[email protected]>2018-07-11 22:54:08 -0700
commit0d6e019c258a8f2e743bcab196acab50b01e3958 (patch)
tree4db148169920d0a14652d9c08b68b8e5288cbbd8 /src/cache
parentimpl Mentionable for GuildChannel (#348) (diff)
downloadserenity-0d6e019c258a8f2e743bcab196acab50b01e3958.tar.xz
serenity-0d6e019c258a8f2e743bcab196acab50b01e3958.zip
Fix doc links with no anchor
Diffstat (limited to 'src/cache')
-rw-r--r--src/cache/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cache/mod.rs b/src/cache/mod.rs
index 6b6e1c4..14e1a14 100644
--- a/src/cache/mod.rs
+++ b/src/cache/mod.rs
@@ -8,7 +8,7 @@
//! within the library. Mutate data at your own discretion.
//!
//! A "globally available" instance of the Cache is available at
-//! [`client::CACHE`]. This is the instance that is updated by the library,
+//! [`CACHE`]. This is the instance that is updated by the library,
//! meaning you should _not_ need to maintain updating it yourself in any case.
//!
//! # Use by Models
@@ -610,6 +610,8 @@ impl Cache {
/// # try_main().unwrap();
/// # }
/// ```
+ ///
+ /// [`private_channels`]: #structfield.private_channels
#[inline]
pub fn private_channel<C: Into<ChannelId>>(&self,
channel_id: C)