aboutsummaryrefslogtreecommitdiffstats
path: root/ports/servoshell/platform
diff options
context:
space:
mode:
authorDelan Azabani <dazabani@igalia.com>2023-09-12 14:27:10 +0800
committerGitHub <noreply@github.com>2023-09-12 06:27:10 +0000
commit90ad5920e2e518422ad7248fca7e5191b475600c (patch)
tree2ab1108714a175525eae19b728938ef72fbc960d /ports/servoshell/platform
parent1bbd0c1e6eb22be6db73c4f9b28664a9104ee3f7 (diff)
downloadservo-90ad5920e2e518422ad7248fca7e5191b475600c.tar.gz
servo-90ad5920e2e518422ad7248fca7e5191b475600c.zip
[NFC] servoshell: fix rust-analyzer and rustfmt breakage (#30340)
Diffstat (limited to 'ports/servoshell/platform')
-rw-r--r--ports/servoshell/platform/macos/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ports/servoshell/platform/macos/mod.rs b/ports/servoshell/platform/macos/mod.rs
index d9d14bb9ee8..2c019d20de3 100644
--- a/ports/servoshell/platform/macos/mod.rs
+++ b/ports/servoshell/platform/macos/mod.rs
@@ -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