Update shadow_root.rs (Ignore change)

This commit is contained in:
komuhangi 2024-03-31 20:03:53 +03:00 committed by GitHub
parent 12ec560dc1
commit f789c02693
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,7 +70,9 @@ 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,