diff --git a/components/style/gecko/conversions.rs b/components/style/gecko/conversions.rs index e85bc8ec310..3c1d334f4a8 100644 --- a/components/style/gecko/conversions.rs +++ b/components/style/gecko/conversions.rs @@ -722,7 +722,7 @@ pub mod basic_shape { let result: Vec = gecko_path.mPath.iter().map(|gecko: &StylePathCommand| { // unsafe: cbindgen ensures the representation is the same. - unsafe{ ::std::mem::transmute(*gecko) } + unsafe { ::std::mem::transmute(*gecko) } }).collect(); Some(SVGPathData::new(result.into_boxed_slice())) }, diff --git a/components/style/values/specified/mod.rs b/components/style/values/specified/mod.rs index 31e37b3041d..6a395c21e58 100644 --- a/components/style/values/specified/mod.rs +++ b/components/style/values/specified/mod.rs @@ -102,8 +102,8 @@ pub mod grid; pub mod image; pub mod length; pub mod list; -pub mod outline; pub mod motion; +pub mod outline; pub mod percentage; pub mod position; pub mod rect;