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:
Ashish Sharma 2015-01-12 20:19:08 +05:30
parent df6a7959df
commit fd0a0d6da8

View file

@ -202,14 +202,6 @@ impl<'ln> TLayoutNode for 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) {
self.dump_indent(0);
}