Rustfmt has changed its default style :/

This commit is contained in:
Simon Sapin 2018-12-14 08:31:30 +01:00
parent 82fc6d9f49
commit be69f9c3e6
207 changed files with 1200 additions and 1339 deletions

View file

@ -4,12 +4,7 @@
//! Gecko's C++ bindings, along with some rust helpers to ease its use.
#[allow(
dead_code,
improper_ctypes,
non_camel_case_types,
missing_docs
)]
#[allow(dead_code, improper_ctypes, non_camel_case_types, missing_docs)]
pub mod bindings {
include!(concat!(env!("OUT_DIR"), "/gecko/bindings.rs"));
}

View file

@ -4,9 +4,9 @@
//! Rust helpers for Gecko's `nsCSSShadowItem`.
use app_units::Au;
use crate::gecko_bindings::structs::nsCSSShadowItem;
use crate::values::computed::effects::{BoxShadow, SimpleShadow};
use app_units::Au;
impl nsCSSShadowItem {
/// Sets this item from the given box shadow.