Updated fixes to clippy warnings in components/script

This commit is contained in:
jahielkomu 2024-03-31 20:14:54 +03:00
parent aabc422ccb
commit 5c71b925fb
3 changed files with 2 additions and 6 deletions

View file

@ -70,9 +70,7 @@ impl<'dom, LayoutDataType: LayoutDataTrait> ServoShadowRoot<'dom, LayoutDataType
phantom: PhantomData,
}
}
/// # Safety
///
/// This function should not mutate StyleSharedRwLockReadGuard.
pub unsafe fn flush_stylesheets(
&self,
stylist: &mut Stylist,