Remove usage of various unsafe keyword

This commit is contained in:
marmeladema 2019-07-27 19:15:38 +01:00
parent 78034a90d0
commit 6c26518f61
3 changed files with 17 additions and 16 deletions

View file

@ -202,7 +202,7 @@ pub fn get_constructor_object_from_local_name(
) -> bool {
macro_rules! get_constructor(
($binding:ident) => ({
unsafe { $binding::GetConstructorObject(cx, global, rval); }
$binding::GetConstructorObject(cx, global, rval);
true
})
);