mirror of
https://github.com/servo/servo.git
synced 2025-07-16 11:53:39 +01:00
style: Appease tidy.
This commit is contained in:
parent
72b29d3202
commit
c0f516f17d
2 changed files with 2 additions and 2 deletions
|
@ -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()))
|
||||||
},
|
},
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue