diff --git a/components/style/gecko_bindings/mod.rs b/components/style/gecko_bindings/mod.rs index d86bfb60484..fa874c7ca42 100644 --- a/components/style/gecko_bindings/mod.rs +++ b/components/style/gecko_bindings/mod.rs @@ -2,7 +2,9 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#[allow(dead_code, improper_ctypes, non_camel_case_types)] +//! Gecko's C++ bindings, along with some rust helpers to ease its use. + +#[allow(dead_code, improper_ctypes, non_camel_case_types, missing_docs)] pub mod bindings { include!(concat!(env!("OUT_DIR"), "/gecko/bindings.rs")); } @@ -11,7 +13,7 @@ pub mod bindings { // foreign structs to have `PhantomData`. We should remove this once the lint // ignores this case. -#[allow(dead_code, improper_ctypes, non_camel_case_types, non_snake_case, non_upper_case_globals)] +#[allow(dead_code, improper_ctypes, non_camel_case_types, non_snake_case, non_upper_case_globals, missing_docs)] pub mod structs { cfg_if! { if #[cfg(debug_assertions)] {