aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-08-29 00:40:40 -0400
committerAlex Crichton <alex@alexcrichton.com>2014-08-29 00:40:40 -0400
commite3ce3517348dd5f6f6306dc1f3bae7f9dd77c0fe (patch)
treeaefc227e607821087c4da2a76834733071552553
parent8c128cb550ba66d4962cd81acca93857c605eaa0 (diff)
parenta9297d3cacd2c9aeabc5990df68b46cbdd5bbd29 (diff)
downloadmilf-rs-e3ce3517348dd5f6f6306dc1f3bae7f9dd77c0fe.tar.gz
milf-rs-e3ce3517348dd5f6f6306dc1f3bae7f9dd77c0fe.zip
Merge pull request #15 from bkoropoff/fix-lifetimes
Fix build break due to generalized type parameter bounds
-rw-r--r--src/show.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/show.rs b/src/show.rs
index a99a088..b072277 100644
--- a/src/show.rs
+++ b/src/show.rs
@@ -2,7 +2,7 @@ use std::fmt;
use {Value, String, Integer, Float, Boolean, Datetime, Array, Table};
-struct Printer<'a, 'b> {
+struct Printer<'a, 'b:'a> {
output: &'a mut fmt::Formatter<'b>,
stack: Vec<&'a str>,
}