mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Don't shadow lifetimes in layout.
This commit is contained in:
parent
cc2523eed5
commit
1b3e368bcd
3 changed files with 6 additions and 6 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue