aboutsummaryrefslogtreecommitdiff
path: root/src/model/channel
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-09-24 22:49:54 +0200
committeracdenisSK <[email protected]>2017-09-24 22:49:54 +0200
commit47ea8f79b4e980e38fb337b2f3cefc5c7d92fb33 (patch)
treeda1bd72cbeba1fd5e7bffe61625cb589563373e7 /src/model/channel
parentRevamp errors in `Args` and commands (diff)
downloadserenity-47ea8f79b4e980e38fb337b2f3cefc5c7d92fb33.tar.xz
serenity-47ea8f79b4e980e38fb337b2f3cefc5c7d92fb33.zip
Refactor display impls for ids
Diffstat (limited to 'src/model/channel')
-rw-r--r--src/model/channel/channel_id.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/model/channel/channel_id.rs b/src/model/channel/channel_id.rs
index e5dad79..4cc997d 100644
--- a/src/model/channel/channel_id.rs
+++ b/src/model/channel/channel_id.rs
@@ -1,4 +1,3 @@
-use std::fmt::{Display, Formatter, Result as FmtResult};
use model::*;
use internal::RwLockExt;
@@ -556,7 +555,3 @@ impl<'a> From<&'a GuildChannel> for ChannelId {
/// Gets the Id of a guild channel.
fn from(public_channel: &GuildChannel) -> ChannelId { public_channel.id }
}
-
-impl Display for ChannelId {
- fn fmt(&self, f: &mut Formatter) -> FmtResult { Display::fmt(&self.0, f) }
-}