[NFC] servoshell: fix rust-analyzer and rustfmt breakage (#30340)

This commit is contained in:
Delan Azabani 2023-09-12 14:27:10 +08:00 committed by GitHub
parent 1bbd0c1e6e
commit 90ad5920e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 271 additions and 216 deletions

View file

@ -2,9 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
use std::ptr;
use std::thread;
use std::time::Duration;
use std::{ptr, thread};
pub fn deinit(clean_shutdown: bool) {
// An unfortunate hack to make sure the linker's dead code stripping doesn't strip our