aboutsummaryrefslogtreecommitdiff
path: root/src/model/channel/guild_channel.rs
diff options
context:
space:
mode:
authorLakelezz <[email protected]>2018-04-04 13:35:16 +0200
committeralex <[email protected]>2018-04-04 13:35:16 +0200
commit7f09642fa66517fc983f63bb2e414638382a6512 (patch)
tree962ebd70c403fb1d0a11356e1156e83139207534 /src/model/channel/guild_channel.rs
parentShort-circuit on an error (diff)
downloadserenity-7f09642fa66517fc983f63bb2e414638382a6512.tar.xz
serenity-7f09642fa66517fc983f63bb2e414638382a6512.zip
Fix nsfw related docs (#299)
Diffstat (limited to 'src/model/channel/guild_channel.rs')
-rw-r--r--src/model/channel/guild_channel.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/model/channel/guild_channel.rs b/src/model/channel/guild_channel.rs
index c001b5c..533aaf2 100644
--- a/src/model/channel/guild_channel.rs
+++ b/src/model/channel/guild_channel.rs
@@ -5,10 +5,10 @@ use model::prelude::*;
use CACHE;
#[cfg(feature = "model")]
use builder::{
- CreateInvite,
- CreateMessage,
- EditChannel,
- EditMessage,
+ CreateInvite,
+ CreateMessage,
+ EditChannel,
+ EditMessage,
GetMessages
};
#[cfg(feature = "model")]
@@ -17,8 +17,8 @@ use http::{self, AttachmentType};
use internal::prelude::*;
#[cfg(feature = "model")]
use std::fmt::{
- Display,
- Formatter,
+ Display,
+ Formatter,
Result as FmtResult
};
#[cfg(feature = "model")]
@@ -392,7 +392,7 @@ impl GuildChannel {
///
/// [`ChannelType::Text`]: enum.ChannelType.html#variant.Text
/// [`ChannelType::Voice`]: enum.ChannelType.html#variant.Voice
- /// [`utils::is_nsfw`]: ../utils/fn.is_nsfw.html
+ /// [`utils::is_nsfw`]: ../../utils/fn.is_nsfw.html
#[cfg(feature = "utils")]
#[inline]
pub fn is_nsfw(&self) -> bool {