Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Commit a88d705

Browse files
author
bors-servo
authored
Auto merge of #358 - servo:rustup, r=nox
Upgrade to rustc 1.19.0-nightly (ced823e26 2017-05-07) <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/358) <!-- Reviewable:end -->
2 parents 560362f + 61dc5c9 commit a88d705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conversions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ impl ToJSValConvertible for *mut JSObject {
659659
impl ToJSValConvertible for NonZero<*mut JSObject> {
660660
#[inline]
661661
unsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue) {
662-
rval.set(ObjectValue(**self));
662+
rval.set(ObjectValue(self.get()));
663663
maybe_wrap_object_value(cx, rval);
664664
}
665665
}

0 commit comments

Comments
 (0)