aboutsummaryrefslogtreecommitdiff
path: root/src/show.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/show.rs')
-rw-r--r--src/show.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/show.rs b/src/show.rs
index af1eba0..fcbc277 100644
--- a/src/show.rs
+++ b/src/show.rs
@@ -8,7 +8,7 @@ struct Printer<'a, 'b:'a> {
stack: Vec<&'a str>,
}
-impl fmt::String for Value {
+impl fmt::Display for Value {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match *self {
String(ref s) => {