diff options
author | Simon Wülker <simon.wuelker@arcor.de> | 2024-08-14 15:42:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-14 13:42:01 +0000 |
commit | c059bab6f4aa920326167b861a3ae17f53001070 (patch) | |
tree | 7223b9187e5ef9bb7e9b4416533381c4c2fc0373 /components/layout_2020/flexbox/geom.rs | |
parent | d941d2fd67e7c2cd9859ae743c76b0238679bfe4 (diff) | |
download | servo-c059bab6f4aa920326167b861a3ae17f53001070.tar.gz servo-c059bab6f4aa920326167b861a3ae17f53001070.zip |
Dont use lazy static to construct mutexes (#33047)
* Remove usage of lazy-static in background_hang_monitor
The lazy-static crate was only used to construct a mutex,
but since Mutex::new is const this can be done at compiletime
instead.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Remove usage of lazy-static in servoshell
Lazy-static was only used to construct a mutex, but
since Mutex::new is const this can simply be done at
compiletime.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
Diffstat (limited to 'components/layout_2020/flexbox/geom.rs')
0 files changed, 0 insertions, 0 deletions