mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Found when building with Rust 1.94. The lint itself only complains about the direct function ptr to usize cast and recommends an intermediate `as *const ()` cast. We also don't need provenance here, so we can also use the more explicit .addr() cast. Testing: Covered by compilation in CI. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
3.8 KiB
3.8 KiB