mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
style: Rustfmt recent changes.
This commit is contained in:
parent
59eef57eb7
commit
006417e40a
22 changed files with 249 additions and 248 deletions
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue