From 8583e505c8a69e4fac5537d6cf80b036d80a6597 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Thu, 27 May 2021 21:48:31 -0400 Subject: [PATCH] Don't error on unused imports. --- components/net/tests/fetch.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/net/tests/fetch.rs b/components/net/tests/fetch.rs index 4f6cf6e272e..74c398fe12a 100644 --- a/components/net/tests/fetch.rs +++ b/components/net/tests/fetch.rs @@ -2,6 +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/. */ +#![allow(unused_imports)] + use crate::fetch_with_context; use crate::fetch_with_cors_cache; #[cfg(not(target_os = "windows"))]