Skip to content

Commit

Permalink
Fix a clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bschwind committed Feb 5, 2024
1 parent aa1ac51 commit aa55499
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 aa55499

Please sign in to comment.