mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix warnings in shared
and config
, fonts
, layout
, and layout_2020
components (#32674)
This commit is contained in:
parent
99c1f886b8
commit
4b63043c6a
20 changed files with 72 additions and 78 deletions
|
@ -187,8 +187,12 @@ where
|
|||
fn process(&mut self, node: &ConcreteThreadSafeLayoutNode);
|
||||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
/// # Safety
|
||||
///
|
||||
/// This function modifies the DOM node represented by the `node` argument, so it is imperitive
|
||||
/// that no other thread is modifying the node at the same time.
|
||||
#[inline]
|
||||
#[allow(unsafe_code)]
|
||||
pub unsafe fn construct_flows_at_ancestors<'dom>(
|
||||
context: &LayoutContext,
|
||||
mut node: impl LayoutNode<'dom>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue