mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
remove unused function with_layout_node #4572
remove documentation in with_layout_node #4572 remove unused documentation in function with_layout_node #4572
This commit is contained in:
parent
df6a7959df
commit
fd0a0d6da8
1 changed files with 0 additions and 8 deletions
|
@ -202,14 +202,6 @@ impl<'ln> TLayoutNode for LayoutNode<'ln> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'ln> LayoutNode<'ln> {
|
impl<'ln> LayoutNode<'ln> {
|
||||||
/// Creates a new layout node, scoped to the given closure.
|
|
||||||
pub unsafe fn with_layout_node<R>(node: JS<Node>, f: for <'a> |LayoutNode<'a>| -> R) -> R {
|
|
||||||
f(LayoutNode {
|
|
||||||
node: node,
|
|
||||||
chain: ContravariantLifetime,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn dump(self) {
|
pub fn dump(self) {
|
||||||
self.dump_indent(0);
|
self.dump_indent(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue