diff options
Diffstat (limited to 'components/script/dom/bindings/reflector.rs')
-rw-r--r-- | components/script/dom/bindings/reflector.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/bindings/reflector.rs b/components/script/dom/bindings/reflector.rs index 9d3d27141ef..843d7dee131 100644 --- a/components/script/dom/bindings/reflector.rs +++ b/components/script/dom/bindings/reflector.rs @@ -143,6 +143,7 @@ impl MutDomObject for Reflector { /// A trait to provide a function pointer to wrap function for DOM objects. pub trait DomObjectWrap: Sized + DomObject { /// Function pointer to the general wrap function type + #[allow(clippy::type_complexity)] const WRAP: unsafe fn( JSContext, &GlobalScope, @@ -156,6 +157,7 @@ pub trait DomObjectWrap: Sized + DomObject { /// DOM iterator interfaces. pub trait DomObjectIteratorWrap: DomObjectWrap + JSTraceable + Iterable { /// Function pointer to the wrap function for `IterableIterator<T>` + #[allow(clippy::type_complexity)] const ITER_WRAP: unsafe fn( JSContext, &GlobalScope, |