Remove println from equality check

This commit is contained in:
Ensar Sarajčić 2024-02-22 13:15:58 +01:00 committed by Benjamin Fry
parent 73fbbf8a15
commit 8b802049d7

View File

@ -8,7 +8,6 @@
//! option record for passing protocol options between the client and server
#![allow(clippy::use_self)]
use std::fmt;
use std::net::{IpAddr, Ipv4Addr, Ipv6Addr};
use std::str::FromStr;
@ -208,7 +207,6 @@ impl PartialEq for OPT {
.iter()
.filter(|entry| other.options.contains(entry))
.count();
println!("Number of matching elements: {}", matching_elements_count);
matching_elements_count == self.options.len()
&& matching_elements_count == other.options.len()
}