mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
layout: Separate LayoutDamage
bit patterns nibbles with _
(#38476)
Using `_` on such long bit patterns makes them easier to read. Testing: Just formatting. Fixes: #38474 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
3eddfeaee2
commit
f3644422c4
1 changed files with 2 additions and 2 deletions
|
@ -12,10 +12,10 @@ bitflags! {
|
|||
pub struct LayoutDamage: u16 {
|
||||
/// Recollect the box children for this element, because some of the them will be
|
||||
/// rebuilt.
|
||||
const RECOLLECT_BOX_TREE_CHILDREN = 0b011111111111 << 4;
|
||||
const RECOLLECT_BOX_TREE_CHILDREN = 0b0111_1111_1111 << 4;
|
||||
/// Rebuild the entire box for this element, which means that every part of layout
|
||||
/// needs to happena again.
|
||||
const REBUILD_BOX = 0b111111111111 << 4;
|
||||
const REBUILD_BOX = 0b1111_1111_1111 << 4;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue