diff options
Diffstat (limited to 'components/layout_2020/tests')
-rw-r--r-- | components/layout_2020/tests/floats.rs | 5 |
1 files changed, 1 insertions, 4 deletions
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 |