diff options
Diffstat (limited to 'components/layout_2020')
-rw-r--r-- | components/layout_2020/Cargo.toml | 1 | ||||
-rw-r--r-- | components/layout_2020/tests/floats.rs | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/components/layout_2020/Cargo.toml b/components/layout_2020/Cargo.toml index cd3322f184e..0d124c5ca03 100644 --- a/components/layout_2020/Cargo.toml +++ b/components/layout_2020/Cargo.toml @@ -53,5 +53,4 @@ webrender_traits = { workspace = true } xi-unicode = { workspace = true } [dev-dependencies] -lazy_static = { workspace = true } quickcheck = "1" diff --git a/components/layout_2020/tests/floats.rs b/components/layout_2020/tests/floats.rs index 01d8f398aa7..0035bd265c9 100644 --- a/components/layout_2020/tests/floats.rs +++ b/components/layout_2020/tests/floats.rs @@ -17,13 +17,10 @@ use layout_2020::flow::float::{ PlacementInfo, }; use layout_2020::geom::{LogicalRect, LogicalVec2}; -use lazy_static::lazy_static; use quickcheck::{Arbitrary, Gen}; use style::values::computed::Clear; -lazy_static! { - static ref PANIC_HOOK_MUTEX: Mutex<()> = Mutex::new(()); -} +static PANIC_HOOK_MUTEX: Mutex<()> = Mutex::new(()); // Suppresses panic messages. Some tests need to fail and we don't want them to spam the console. // Note that, because the panic hook is process-wide, tests that are expected to fail might |