aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-08-05 18:08:51 +0200
committeracdenisSK <[email protected]>2017-08-05 18:08:51 +0200
commitba3e67479bf89d2a3102b207ed7bdea04f557020 (patch)
treeb5c92671a08699dfe051a6aaa4ca81b20015cad8 /src/utils
parentRefactor the display stuff a bit (diff)
downloadserenity-ba3e67479bf89d2a3102b207ed7bdea04f557020.tar.xz
serenity-ba3e67479bf89d2a3102b207ed7bdea04f557020.zip
>.>
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/message_builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/message_builder.rs b/src/utils/message_builder.rs
index ee30678..8da6e01 100644
--- a/src/utils/message_builder.rs
+++ b/src/utils/message_builder.rs
@@ -780,7 +780,7 @@ pub struct Content {
impl fmt::Display for Content {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
- write!(f, "{}", self.inner)
+ write!(f, "{}", self.to_string())
}
}