aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-12-18 20:47:17 -0800
committerAustin Hellyer <[email protected]>2016-12-18 20:47:17 -0800
commitb3f18164f4a4b10c5741d530b7755ba93378e6c4 (patch)
tree8cb2b80879dc57ad817e7855c77b4c00ef32fef1 /src
parentAllow time::Tm to be passed into embed timestamp (diff)
downloadserenity-b3f18164f4a4b10c5741d530b7755ba93378e6c4.tar.xz
serenity-b3f18164f4a4b10c5741d530b7755ba93378e6c4.zip
Fix a typo in UserId::find docs
Diffstat (limited to 'src')
-rw-r--r--src/model/id.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/id.rs b/src/model/id.rs
index 04c15f7..b6cece6 100644
--- a/src/model/id.rs
+++ b/src/model/id.rs
@@ -173,7 +173,7 @@ impl RoleId {
}
impl UserId {
- /// Search the cache for the channel with the Id.
+ /// Search the cache for the user with the Id.
#[cfg(all(feature="cache", feature="methods"))]
pub fn find(&self) -> Option<User> {
CACHE.read().unwrap().get_user(*self).cloned()