mirror of
https://github.com/servo/servo.git
synced 2025-08-19 20:35:34 +01:00
style: Rustfmt recent changes.
This commit is contained in:
parent
152ef2e042
commit
5f173c463e
16 changed files with 53 additions and 43 deletions
|
@ -10,7 +10,10 @@ use crate::stylesheets::OriginSet;
|
|||
/// Checks that the values for OriginFlags are the ones we expect.
|
||||
pub fn assert_flags_match() {
|
||||
use crate::stylesheets::origin::*;
|
||||
debug_assert_eq!(OriginFlags::UserAgent.0, OriginSet::ORIGIN_USER_AGENT.bits());
|
||||
debug_assert_eq!(
|
||||
OriginFlags::UserAgent.0,
|
||||
OriginSet::ORIGIN_USER_AGENT.bits()
|
||||
);
|
||||
debug_assert_eq!(OriginFlags::Author.0, OriginSet::ORIGIN_AUTHOR.bits());
|
||||
debug_assert_eq!(OriginFlags::User.0, OriginSet::ORIGIN_USER.bits());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue