mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Document the bindings module, allow missing docs in autogenerated files.
This commit is contained in:
parent
1fc48dc730
commit
3a75545629
1 changed files with 4 additions and 2 deletions
|
@ -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)] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue