Skip to content

Commit bc76a18

Browse files
committed
fix: silence warning unpredictable_function_pointer_comparisons, see std::ptr::fn_addr_eq
1 parent 454d121 commit bc76a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use parsers::MessageStream;
1515
use std::{borrow::Cow, collections::HashMap, hash::Hash, net::IpAddr};
1616

1717
/// RFC5322/RFC822 message parser.
18-
#[derive(Debug, PartialEq, Eq, Clone)]
18+
#[derive(Debug, Clone)]
1919
pub struct MessageParser {
2020
pub(crate) header_map: HashMap<HeaderName<'static>, HdrParseFnc>,
2121
pub(crate) def_hdr_parse_fnc: HdrParseFnc,

0 commit comments

Comments
 (0)