Merge pull request #15 from bkoropoff/fix-lifetimes

Fix build break due to generalized type parameter bounds
This commit is contained in:
Alex Crichton 2014-08-29 00:40:40 -04:00
commit e3ce351734

View file

@ -2,7 +2,7 @@ use std::fmt;
use {Value, String, Integer, Float, Boolean, Datetime, Array, Table}; use {Value, String, Integer, Float, Boolean, Datetime, Array, Table};
struct Printer<'a, 'b> { struct Printer<'a, 'b:'a> {
output: &'a mut fmt::Formatter<'b>, output: &'a mut fmt::Formatter<'b>,
stack: Vec<&'a str>, stack: Vec<&'a str>,
} }