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 3499eff..27733ed 100644
--- a/src/show.rs
+++ b/src/show.rs
@@ -85,7 +85,7 @@ impl<'a, 'b> Printer<'a, 'b> {
self.stack.connect(".")));
match *inner {
Table(ref inner) => try!(self.print(inner)),
- _ => fail!("non-heterogeneous toml array"),
+ _ => panic!("non-heterogeneous toml array"),
}
}
self.stack.pop();