From fd0a0d6da880e3acdb253c12332859de1674d0af Mon Sep 17 00:00:00 2001 From: Ashish Sharma Date: Mon, 12 Jan 2015 20:19:08 +0530 Subject: [PATCH] remove unused function with_layout_node #4572 remove documentation in with_layout_node #4572 remove unused documentation in function with_layout_node #4572 --- components/layout/wrapper.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs index c22bb367b60..25aa83a3cc2 100644 --- a/components/layout/wrapper.rs +++ b/components/layout/wrapper.rs @@ -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(node: JS, f: for <'a> |LayoutNode<'a>| -> R) -> R { - f(LayoutNode { - node: node, - chain: ContravariantLifetime, - }) - } - pub fn dump(self) { self.dump_indent(0); }