aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/tests/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/net/tests/main.rs')
-rw-r--r--components/net/tests/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/tests/main.rs b/components/net/tests/main.rs
index 5ad2c55f728..c48ac873729 100644
--- a/components/net/tests/main.rs
+++ b/components/net/tests/main.rs
@@ -51,7 +51,7 @@ use tokio::runtime::Runtime;
use tokio_openssl::SslAcceptorExt;
lazy_static! {
- pub static ref HANDLE: Mutex<Runtime> = { Mutex::new(Runtime::new().unwrap()) };
+ pub static ref HANDLE: Mutex<Runtime> = Mutex::new(Runtime::new().unwrap());
}
const DEFAULT_USER_AGENT: &'static str = "Such Browser. Very Layout. Wow.";