diff options
| author | Zeyla Hellyer <[email protected]> | 2018-01-31 14:56:12 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-01-31 14:56:56 -0800 |
| commit | 8578d5fe6e3bdc2842cda9417c242169f93b1a99 (patch) | |
| tree | ba5ce74c82510f5d3b6b490b09eb5e6d2de77ca1 /src/model/channel | |
| parent | Add create message builder example (#268) (diff) | |
| download | serenity-8578d5fe6e3bdc2842cda9417c242169f93b1a99.tar.xz serenity-8578d5fe6e3bdc2842cda9417c242169f93b1a99.zip | |
Fix broken docs links caused by model mod changes
Fix broken links caused by the `model` module changes in v0.5.0, which
split up the module into sub-modules for better organization.
Diffstat (limited to 'src/model/channel')
| -rw-r--r-- | src/model/channel/group.rs | 2 | ||||
| -rw-r--r-- | src/model/channel/private_channel.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/model/channel/group.rs b/src/model/channel/group.rs index 840234d..61fe67e 100644 --- a/src/model/channel/group.rs +++ b/src/model/channel/group.rs @@ -276,7 +276,7 @@ impl Group { /// is over the above limit, containing the number of unicode code points /// over the limit. /// - /// [`ChannelId`]: ../model/struct.ChannelId.html + /// [`ChannelId`]: ../model/id/struct.ChannelId.html /// [`ModelError::MessageTooLong`]: enum.ModelError.html#variant.MessageTooLong #[inline] pub fn say(&self, content: &str) -> Result<Message> { self.channel_id.say(content) } diff --git a/src/model/channel/private_channel.rs b/src/model/channel/private_channel.rs index f22a225..7c8b1e8 100644 --- a/src/model/channel/private_channel.rs +++ b/src/model/channel/private_channel.rs @@ -221,7 +221,7 @@ impl PrivateChannel { /// is over the above limit, containing the number of unicode code points /// over the limit. /// - /// [`ChannelId`]: ../model/struct.ChannelId.html + /// [`ChannelId`]: ../model/id/struct.ChannelId.html /// [`ModelError::MessageTooLong`]: enum.ModelError.html#variant.MessageTooLong #[inline] pub fn say<D: ::std::fmt::Display>(&self, content: D) -> Result<Message> { self.id.say(content) } |