mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
style: Appease tidy.
This commit is contained in:
parent
665db79274
commit
390d03da70
3 changed files with 3 additions and 3 deletions
|
@ -96,7 +96,7 @@ impl MallocSizeOf for RuleTree {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Hash, PartialEq, Eq)]
|
#[derive(Debug, Eq, Hash, PartialEq)]
|
||||||
struct ChildKey(CascadeLevel, ptr::NonNull<()>);
|
struct ChildKey(CascadeLevel, ptr::NonNull<()>);
|
||||||
|
|
||||||
unsafe impl Send for ChildKey {}
|
unsafe impl Send for ChildKey {}
|
||||||
|
|
|
@ -65,7 +65,7 @@ pub use self::viewport_rule::ViewportRule;
|
||||||
|
|
||||||
/// The CORS mode used for a CSS load.
|
/// The CORS mode used for a CSS load.
|
||||||
#[repr(u8)]
|
#[repr(u8)]
|
||||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, ToShmem)]
|
#[derive(Clone, Copy, Debug, Eq, PartialEq, ToShmem)]
|
||||||
pub enum CorsMode {
|
pub enum CorsMode {
|
||||||
/// No CORS mode, so cross-origin loads can be done.
|
/// No CORS mode, so cross-origin loads can be done.
|
||||||
None,
|
None,
|
||||||
|
|
|
@ -47,7 +47,7 @@ pub enum Color {
|
||||||
/// System colors.
|
/// System colors.
|
||||||
#[allow(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
#[cfg(feature = "gecko")]
|
#[cfg(feature = "gecko")]
|
||||||
#[derive(Copy, Clone, Debug, MallocSizeOf, Parse, PartialEq, ToCss, ToShmem)]
|
#[derive(Clone, Copy, Debug, MallocSizeOf, Parse, PartialEq, ToCss, ToShmem)]
|
||||||
#[repr(u8)]
|
#[repr(u8)]
|
||||||
pub enum SystemColor {
|
pub enum SystemColor {
|
||||||
#[css(skip)]
|
#[css(skip)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue