diff options
author | Ashish Sharma <kartaa@outlook.com> | 2015-01-12 20:19:08 +0530 |
---|---|---|
committer | Ashish Sharma <kartaa@outlook.com> | 2015-01-12 20:48:02 +0530 |
commit | fd0a0d6da880e3acdb253c12332859de1674d0af (patch) | |
tree | 3def96b015b8debac78896e310874252a3011c2f | |
parent | df6a7959df69bf98b397f088fc3cf1fad2cc0aaf (diff) | |
download | servo-fd0a0d6da880e3acdb253c12332859de1674d0af.tar.gz servo-fd0a0d6da880e3acdb253c12332859de1674d0af.zip |
remove unused function with_layout_node #4572
remove documentation in with_layout_node #4572
remove unused documentation in function with_layout_node #4572
-rw-r--r-- | components/layout/wrapper.rs | 8 |
1 files changed, 0 insertions, 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<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); } |