aboutsummaryrefslogtreecommitdiff
path: root/src/model/channel/mod.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-06-04 14:18:44 -0700
committerZeyla Hellyer <[email protected]>2017-06-04 14:38:24 -0700
commit048ad03dfd82ed97b88a79e46c1767635bc5cb28 (patch)
treec2d5acff3f5ece396284e40556451ff5f1fc56a5 /src/model/channel/mod.rs
parentMake http::send_files accept a slice of bytes (diff)
downloadserenity-048ad03dfd82ed97b88a79e46c1767635bc5cb28.tar.xz
serenity-048ad03dfd82ed97b88a79e46c1767635bc5cb28.zip
Fix links to ChannelId::send_files
Helper methods such as `GuildChannel::send_files` linked to the documentation for `ChannelId::send_file`, when they should be linking to `ChannelId::send_files`.
Diffstat (limited to 'src/model/channel/mod.rs')
-rw-r--r--src/model/channel/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/channel/mod.rs b/src/model/channel/mod.rs
index aed04ab..0887bc2 100644
--- a/src/model/channel/mod.rs
+++ b/src/model/channel/mod.rs
@@ -306,7 +306,7 @@ impl Channel {
/// Sends (a) file(s) along with optional message contents.
///
- /// Refer to [`ChannelId::send_file`] for examples and more information.
+ /// Refer to [`ChannelId::send_files`] for examples and more information.
///
/// The [Attach Files] and [Send Messages] permissions are required.
///
@@ -318,7 +318,7 @@ impl Channel {
/// [`ClientError::MessageTooLong`] will be returned, containing the number
/// of unicode code points over the limit.
///
- /// [`ChannelId::send_file`]: struct.ChannelId.html#method.send_file
+ /// [`ChannelId::send_files`]: struct.ChannelId.html#method.send_files
/// [`ClientError::MessageTooLong`]: ../client/enum.ClientError.html#variant.MessageTooLong
/// [Attach Files]: permissions/constant.ATTACH_FILES.html
/// [Send Messages]: permissions/constant.SEND_MESSAGES.html