diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-04-23 13:43:49 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-04-25 10:51:07 +0200 |
commit | a45f117838d542ceb8f3557321dc410d4fbab3e5 (patch) | |
tree | 4dc5a094294c23bfe69828f1644f66e344002867 /components/script/dom/bindings/interface.rs | |
parent | edb58040c82c9c333e0c0a04051e17ed6fb17bd7 (diff) | |
download | servo-a45f117838d542ceb8f3557321dc410d4fbab3e5.tar.gz servo-a45f117838d542ceb8f3557321dc410d4fbab3e5.zip |
Make NonCallbackInterfaceObjectClass::new unsafe
Diffstat (limited to 'components/script/dom/bindings/interface.rs')
-rw-r--r-- | components/script/dom/bindings/interface.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/interface.rs b/components/script/dom/bindings/interface.rs index 7db3c6e17c4..668a87daa8f 100644 --- a/components/script/dom/bindings/interface.rs +++ b/components/script/dom/bindings/interface.rs @@ -114,7 +114,7 @@ unsafe impl Sync for NonCallbackInterfaceObjectClass {} impl NonCallbackInterfaceObjectClass { /// Create a new `NonCallbackInterfaceObjectClass` structure. - pub const fn new( + pub const unsafe fn new( constructor: ConstructorClassHook, string_rep: &'static [u8], proto_id: PrototypeList::ID, |