servo/components/script/layout_dom
Martin Robinson 30abb99287
clippy: Add safety documentation and clean up unsafe methods (#33748)
This change:

1. Adds safety documentation where it was missing.
2. Limits the scope of unsafe code in some cases to where it is actually
   unsafe.
3. Converts some free functions to associated functions and methods,
   thereby making them more likely to be called safely.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-10-16 08:11:31 +00:00
..
document.rs script: Make layout DOM wrappers not generic on layout data (#31994) 2024-04-04 11:34:35 +00:00
element.rs clippy: Add safety documentation and clean up unsafe methods (#33748) 2024-10-16 08:11:31 +00:00
mod.rs Eliminate duplicate Layout DOM wrappers 2023-05-05 17:16:38 +02:00
node.rs clippy: Add safety documentation and clean up unsafe methods (#33748) 2024-10-16 08:11:31 +00:00
shadow_root.rs clippy: Add safety documentation and clean up unsafe methods (#33748) 2024-10-16 08:11:31 +00:00