Compile warnings in components/script/dom/
Loirooriol opened this issue · comments
Oriol Brufau commented
After #31921 I get some compile warnings
warning: unused import: `std::mem`
--> components/script/dom/canvasrenderingcontext2d.rs:5:5
|
5 | use std::mem;
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `std::mem::replace`
--> components/script/dom/htmlscriptelement.rs:9:5
|
9 | use std::mem::replace;
| ^^^^^^^^^^^^^^^^^
@oluwatobiss Please make sure to not introduce compile warnings
Oluwatobi Sofela commented
Got it. Thanks, @azharcodeit, for fixing it.