Skip to content

Commit

Permalink
Fix a clippy lint (tonarino#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
bschwind authored Feb 5, 2024
1 parent aa1ac51 commit a9e2f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netlink-request/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ mod linux {
let responses =
netlink_request_genl::<GenlCtrl>(genlmsg, Some(NLM_F_REQUEST | NLM_F_ACK))?;

match responses.get(0) {
match responses.first() {
Some(NetlinkMessage {
payload:
NetlinkPayload::InnerMessage(GenlMessage {
Expand Down

0 comments on commit a9e2f55

Please sign in to comment.