mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
style: Rename SheetRebuildKind::rebuild_invalidation to should_rebuild_invalidation.
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
parent
e648dd7822
commit
3fd8a534d7
2 changed files with 17 additions and 13 deletions
|
@ -94,7 +94,7 @@ pub enum SheetRebuildKind {
|
|||
|
||||
impl SheetRebuildKind {
|
||||
/// Whether the stylesheet invalidation data should be rebuilt.
|
||||
pub fn rebuild_invalidation(&self) -> bool {
|
||||
pub fn should_rebuild_invalidation(&self) -> bool {
|
||||
matches!(*self, SheetRebuildKind::Full)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue