mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fixd some clippy warnings in components/script
This commit is contained in:
parent
92d9081366
commit
e74a03724f
3 changed files with 13 additions and 10 deletions
|
@ -71,6 +71,9 @@ impl<'dom, LayoutDataType: LayoutDataTrait> ServoShadowRoot<'dom, LayoutDataType
|
|||
}
|
||||
}
|
||||
|
||||
/// # Safety
|
||||
///
|
||||
/// This function should not mutate StyleSharedRwLockReadGuard.
|
||||
pub unsafe fn flush_stylesheets(
|
||||
&self,
|
||||
stylist: &mut Stylist,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue