From 048ad03dfd82ed97b88a79e46c1767635bc5cb28 Mon Sep 17 00:00:00 2001 From: Zeyla Hellyer Date: Sun, 4 Jun 2017 14:18:44 -0700 Subject: 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`. --- src/model/channel/group.rs | 4 ++-- src/model/channel/guild_channel.rs | 4 ++-- src/model/channel/mod.rs | 4 ++-- src/model/channel/private_channel.rs | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/model/channel/group.rs b/src/model/channel/group.rs index c1bc32a..25c4690 100644 --- a/src/model/channel/group.rs +++ b/src/model/channel/group.rs @@ -310,7 +310,7 @@ impl Group { /// 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. /// @@ -322,7 +322,7 @@ impl Group { /// [`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 diff --git a/src/model/channel/guild_channel.rs b/src/model/channel/guild_channel.rs index a6e90e8..8b55d04 100644 --- a/src/model/channel/guild_channel.rs +++ b/src/model/channel/guild_channel.rs @@ -570,7 +570,7 @@ impl GuildChannel { /// 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. /// @@ -582,7 +582,7 @@ impl GuildChannel { /// [`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 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 diff --git a/src/model/channel/private_channel.rs b/src/model/channel/private_channel.rs index 11c99ac..7a0ed54 100644 --- a/src/model/channel/private_channel.rs +++ b/src/model/channel/private_channel.rs @@ -256,7 +256,7 @@ impl PrivateChannel { /// 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. /// @@ -268,7 +268,7 @@ impl PrivateChannel { /// [`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 -- cgit v1.2.3