style: Appease tidy.

This commit is contained in:
Emilio Cobos Álvarez 2018-09-03 12:39:02 +02:00
parent 72b29d3202
commit c0f516f17d
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 2 additions and 2 deletions

View file

@ -722,7 +722,7 @@ pub mod basic_shape {
let result: Vec<PathCommand> = let result: Vec<PathCommand> =
gecko_path.mPath.iter().map(|gecko: &StylePathCommand| { gecko_path.mPath.iter().map(|gecko: &StylePathCommand| {
// unsafe: cbindgen ensures the representation is the same. // unsafe: cbindgen ensures the representation is the same.
unsafe{ ::std::mem::transmute(*gecko) } unsafe { ::std::mem::transmute(*gecko) }
}).collect(); }).collect();
Some(SVGPathData::new(result.into_boxed_slice())) Some(SVGPathData::new(result.into_boxed_slice()))
}, },

View file

@ -102,8 +102,8 @@ pub mod grid;
pub mod image; pub mod image;
pub mod length; pub mod length;
pub mod list; pub mod list;
pub mod outline;
pub mod motion; pub mod motion;
pub mod outline;
pub mod percentage; pub mod percentage;
pub mod position; pub mod position;
pub mod rect; pub mod rect;