aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-28 14:44:32 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-28 14:44:32 +0100
commit1b3e368bcddcf29e289f21d1f261450faaee8e0b (patch)
tree6c10b21747e4c74178afa540a8f8deb74d4fae96 /components/layout/construct.rs
parentcc2523eed5bdddd054ce6918e7d2d1d7d22d9286 (diff)
downloadservo-1b3e368bcddcf29e289f21d1f261450faaee8e0b.tar.gz
servo-1b3e368bcddcf29e289f21d1f261450faaee8e0b.zip
Don't shadow lifetimes in layout.
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs
index b877d4245f2..9e14e2244ab 100644
--- a/components/layout/construct.rs
+++ b/components/layout/construct.rs
@@ -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,
}