diff --git a/src/ports.rs b/src/ports.rs index c4d5857..ed42240 100644 --- a/src/ports.rs +++ b/src/ports.rs @@ -4,7 +4,7 @@ use std::{ fmt::{Debug, Display}, fs::File, io::{BufReader, BufWriter}, - ops::Range, + ops::RangeInclusive, path::Path, sync::Arc, time::{Duration, SystemTime, UNIX_EPOCH}, @@ -177,7 +177,7 @@ impl Default for PortStatus { } #[derive(Default, Debug, Serialize, Deserialize, PartialEq, Eq, Clone)] -pub struct AllowedPorts(Vec>); +pub struct AllowedPorts(Vec>); impl AllowedPorts { pub fn is_allowed(&self, port: Port) -> bool {