Don't shadow lifetimes in layout.

This commit is contained in:
Ms2ger 2015-01-28 14:44:32 +01:00
parent cc2523eed5
commit 1b3e368bcd
3 changed files with 6 additions and 6 deletions

View file

@ -222,8 +222,8 @@ pub struct FlowConstructor<'a> {
impl<'a> FlowConstructor<'a> {
/// Creates a new flow constructor.
pub fn new<'a>(layout_context: &'a LayoutContext<'a>)
-> FlowConstructor<'a> {
pub fn new<'b>(layout_context: &'b LayoutContext<'b>)
-> FlowConstructor<'b> {
FlowConstructor {
layout_context: layout_context,
}