From 6c7176bf35837806b0bf01446329130e7c80ec21 Mon Sep 17 00:00:00 2001 From: Esteban Borai Date: Mon, 25 Mar 2024 20:10:50 -0300 Subject: [PATCH] chore(linux): allow unused imports while deeper understanding --- src/target/linux.rs | 1 - src/target/mod.rs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/target/linux.rs b/src/target/linux.rs index 909bb99..d1cde3e 100644 --- a/src/target/linux.rs +++ b/src/target/linux.rs @@ -1,5 +1,4 @@ use std::collections::HashMap; - use std::net::{Ipv4Addr, Ipv6Addr}; use std::slice::from_raw_parts; diff --git a/src/target/mod.rs b/src/target/mod.rs index aa1abbc..b142d5a 100644 --- a/src/target/mod.rs +++ b/src/target/mod.rs @@ -1,6 +1,8 @@ +#[allow(unused_imports)] #[cfg(any(target_os = "android", target_os = "linux"))] mod linux; +#[allow(unused_imports)] #[cfg(any(target_os = "android", target_os = "linux"))] pub use linux::*;