diff options
| author | Zeyla Hellyer <[email protected]> | 2017-06-04 14:18:44 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-06-04 14:38:24 -0700 |
| commit | 048ad03dfd82ed97b88a79e46c1767635bc5cb28 (patch) | |
| tree | c2d5acff3f5ece396284e40556451ff5f1fc56a5 /src/model | |
| parent | Make http::send_files accept a slice of bytes (diff) | |
| download | serenity-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')
| -rw-r--r-- | src/model/channel/group.rs | 4 | ||||
| -rw-r--r-- | src/model/channel/guild_channel.rs | 4 | ||||
| -rw-r--r-- | src/model/channel/mod.rs | 4 | ||||
| -rw-r--r-- | src/model/channel/private_channel.rs | 4 |
4 files changed, 8 insertions, 8 deletions
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 |