Auto merge of #8136 - mbrubeck:typo, r=jdm

Fix type in MutHeap docs



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8136)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-10-21 14:15:28 -06:00
commit f9e17d33bb

View file

@ -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<T: Reflectable> MutHeap<JS<T>> {
}
}
/// Set the value in this `MutHeap`.
/// Get the value in this `MutHeap`.
pub fn get(&self) -> Root<T> {
unsafe {
ptr::read(self.val.get()).root()