aya: netlink: fix clippy lint

pull/42/head
Alessandro Decina 3 years ago
parent a68ff47246
commit 8c03ba052a

@ -708,7 +708,7 @@ mod tests {
TCA_OPTIONS as u16 TCA_OPTIONS as u16
); );
let mut iter = NlAttrsIterator::new(&outer.data); let mut iter = NlAttrsIterator::new(outer.data);
let inner = iter.next().unwrap().unwrap(); let inner = iter.next().unwrap().unwrap();
assert_eq!( assert_eq!(
inner.header.nla_type & NLA_TYPE_MASK as u16, inner.header.nla_type & NLA_TYPE_MASK as u16,

Loading…
Cancel
Save