Skip to content

Commit

Permalink
tls_codec: clippy 1.85
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo committed Feb 23, 2025
1 parent e61eb13 commit 2ad0fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tls_codec/derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ impl TlsAttr {
}
}

if attr.path().get_ident().map_or(true, |id| id != ATTR_IDENT) {
if attr.path().get_ident().is_none_or(|id| id != ATTR_IDENT) {
return Ok(Vec::new());
}
attr.parse_args_with(Punctuated::<Meta, Token![,]>::parse_terminated)?
Expand Down

0 comments on commit 2ad0fbb

Please sign in to comment.