mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Merge pull request #2779 from Ms2ger/print
Print a more helpful debug message when creating an element in the HTML parser.
This commit is contained in:
commit
b502d0f19e
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ pub fn parse_html(page: &Page,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
create_element: |tag: Box<hubbub::Tag>| {
|
create_element: |tag: Box<hubbub::Tag>| {
|
||||||
debug!("create element {:?}", tag.name.clone());
|
debug!("create element {}", tag.name);
|
||||||
// NOTE: tmp vars are workaround for lifetime issues. Both required.
|
// NOTE: tmp vars are workaround for lifetime issues. Both required.
|
||||||
let tmp_borrow = doc_cell.borrow();
|
let tmp_borrow = doc_cell.borrow();
|
||||||
let tmp = &*tmp_borrow;
|
let tmp = &*tmp_borrow;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue