diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-11-30 14:34:45 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-11-30 20:45:07 +0100 |
commit | 006417e40ace554db56d98b2df44f04f776268df (patch) | |
tree | 94ee87f68dc2c75244cdf19fd60f4590e25568df /components/style/gecko_string_cache | |
parent | 59eef57eb77faea7ce11cd899647f40c3f333b8b (diff) | |
download | servo-006417e40ace554db56d98b2df44f04f776268df.tar.gz servo-006417e40ace554db56d98b2df44f04f776268df.zip |
style: Rustfmt recent changes.
Diffstat (limited to 'components/style/gecko_string_cache')
-rw-r--r-- | components/style/gecko_string_cache/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/style/gecko_string_cache/mod.rs b/components/style/gecko_string_cache/mod.rs index e1da47e937e..b9e3a0c608a 100644 --- a/components/style/gecko_string_cache/mod.rs +++ b/components/style/gecko_string_cache/mod.rs @@ -392,7 +392,8 @@ impl Atom { // though. // // debug_assert!((index as usize) < STATIC_ATOM_COUNT); - let offset = (index as usize) * std::mem::size_of::<nsStaticAtom>() + kGkAtomsArrayOffset as usize; + let offset = + (index as usize) * std::mem::size_of::<nsStaticAtom>() + kGkAtomsArrayOffset as usize; Atom(NonZeroUsize::new_unchecked((offset << 1) | 1)) } |