mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Rustfmt has changed its default style :/
This commit is contained in:
parent
82fc6d9f49
commit
be69f9c3e6
207 changed files with 1200 additions and 1339 deletions
|
@ -48,10 +48,7 @@ pub enum DevicePixel {}
|
|||
/// Represents a mobile style pinch zoom factor.
|
||||
/// TODO(gw): Once WR supports pinch zoom, use a type directly from webrender_api.
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
#[cfg_attr(
|
||||
feature = "servo",
|
||||
derive(Deserialize, Serialize, MallocSizeOf)
|
||||
)]
|
||||
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize, MallocSizeOf))]
|
||||
pub struct PinchZoomFactor(f32);
|
||||
|
||||
impl PinchZoomFactor {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue