diff options
| author | acdenisSK <[email protected]> | 2017-07-14 00:31:12 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-07-14 00:31:12 +0200 |
| commit | 14fd41b0d62ab441b6600028792641d813f09cd8 (patch) | |
| tree | 00712a9f119ecb19a76e7c774c2e2a9a638ec6e2 | |
| parent | Add `ChannelId,PrivateChannel,GuildChannel::name` functions (diff) | |
| download | serenity-14fd41b0d62ab441b6600028792641d813f09cd8.tar.xz serenity-14fd41b0d62ab441b6600028792641d813f09cd8.zip | |
Fix the doc on `PrivateChannel::name`
| -rw-r--r-- | src/model/channel/private_channel.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/channel/private_channel.rs b/src/model/channel/private_channel.rs index 5d70a73..f6d79ed 100644 --- a/src/model/channel/private_channel.rs +++ b/src/model/channel/private_channel.rs @@ -170,7 +170,7 @@ impl PrivateChannel { self.id.messages(f) } - /// Returns "DM with $username$". + /// Returns "DM with $username#discriminator". pub fn name(&self) -> String { format!("DM with {}", self.recipient.read().unwrap().tag()) } |