summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorcyqsimon <28627918+cyqsimon@users.noreply.github.com>2024-03-01 10:55:38 +0800
committerGitHub <noreply@github.com>2024-03-01 10:55:38 +0800
commit862ede716c4de07f1985884b4af25ac874ab4640 (patch)
tree2fd6144571788ba861d630676a45673b6eddd25f /src
parent5f5cc7ed609e8eff29ee0c580e60c468273bf171 (diff)
Remove redundant imports (#377)
* Remove redundant imports - Now linted by clippy in 1.78 - See https://github.com/rust-lang/rust/pull/117772 * Write changelog * Remove Windows-only redundant imports in build script
Diffstat (limited to 'src')
-rw-r--r--src/display/components/table.rs2
-rw-r--r--src/display/ui_state.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/display/components/table.rs b/src/display/components/table.rs
index 6e602d1..2b450b1 100644
--- a/src/display/components/table.rs
+++ b/src/display/components/table.rs
@@ -1,4 +1,4 @@
-use std::{collections::HashMap, fmt, iter::FromIterator, net::IpAddr, ops::Index, rc::Rc};
+use std::{collections::HashMap, fmt, net::IpAddr, ops::Index, rc::Rc};
use derivative::Derivative;
use itertools::Itertools;
diff --git a/src/display/ui_state.rs b/src/display/ui_state.rs
index 37ff639..8b73571 100644
--- a/src/display/ui_state.rs
+++ b/src/display/ui_state.rs
@@ -2,7 +2,6 @@ use std::{
cmp,
collections::{HashMap, HashSet, VecDeque},
hash::Hash,
- iter::FromIterator,
net::{IpAddr, Ipv4Addr, Ipv6Addr},
};