aboutsummaryrefslogtreecommitdiff
path: root/src/show.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/show.rs')
-rw-r--r--src/show.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/show.rs b/src/show.rs
index a8a302e..3499eff 100644
--- a/src/show.rs
+++ b/src/show.rs
@@ -1,6 +1,6 @@
use std::fmt;
-use {Value, String, Integer, Float, Boolean, Datetime, Array, Table};
+use {Value, String, Integer, Float, Boolean, Datetime, Array, Table, TomlTable};
struct Printer<'a, 'b:'a> {
output: &'a mut fmt::Formatter<'b>,
@@ -51,7 +51,7 @@ impl fmt::Show for Value {
}
impl<'a, 'b> Printer<'a, 'b> {
- fn print(&mut self, table: &'a Table) -> fmt::Result {
+ fn print(&mut self, table: &'a TomlTable) -> fmt::Result {
for (k, v) in table.iter() {
match *v {
Table(..) => continue,