Merge pull request #15 from bkoropoff/fix-lifetimes
Fix build break due to generalized type parameter bounds
This commit is contained in:
commit
e3ce351734
|
@ -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>,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue