From e9f9eaa61ce595a9526638a92f618248a88b84d0 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Wed, 21 Oct 2015 12:27:04 -0700 Subject: [PATCH] Fix type in MutHeap docs --- components/script/dom/bindings/js.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/script/dom/bindings/js.rs b/components/script/dom/bindings/js.rs index baa8d8ce88a..6faef9b111b 100644 --- a/components/script/dom/bindings/js.rs +++ b/components/script/dom/bindings/js.rs @@ -225,7 +225,7 @@ impl MutHeapJSVal { } } - /// Set the value in this `MutHeapJSVal`, calling read barriers as appropriate. + /// Get the value in this `MutHeapJSVal`, calling read barriers as appropriate. pub fn get(&self) -> JSVal { unsafe { (*self.val.get()).get() } } @@ -258,7 +258,7 @@ impl MutHeap> { } } - /// Set the value in this `MutHeap`. + /// Get the value in this `MutHeap`. pub fn get(&self) -> Root { unsafe { ptr::read(self.val.get()).root()