Skip to content

Commit f040d4a

Browse files
committed
Remove DerefMut impl for MutableHandle
Signed-off-by: Greg Morenz <[email protected]>
1 parent 3e8e9d3 commit f040d4a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

mozjs/src/gc/root.rs

-6
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,6 @@ impl<'a, T> Deref for MutableHandle<'a, T> {
249249
}
250250
}
251251

252-
impl<'a, T> DerefMut for MutableHandle<'a, T> {
253-
fn deref_mut(&mut self) -> &mut T {
254-
unsafe { &mut *self.ptr }
255-
}
256-
}
257-
258252
impl HandleValue<'static> {
259253
pub fn null() -> Self {
260254
unsafe { Self::from_raw(RawHandleValue::null()) }

0 commit comments

Comments
 (0)