Fix a clippy lint (#300)

pull/304/head
Brian Schwind 2024-02-05 12:24:53 +09:00 committed by GitHub
parent aa1ac515e8
commit a9e2f55c91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ mod linux {
let responses = let responses =
netlink_request_genl::<GenlCtrl>(genlmsg, Some(NLM_F_REQUEST | NLM_F_ACK))?; netlink_request_genl::<GenlCtrl>(genlmsg, Some(NLM_F_REQUEST | NLM_F_ACK))?;
match responses.get(0) { match responses.first() {
Some(NetlinkMessage { Some(NetlinkMessage {
payload: payload:
NetlinkPayload::InnerMessage(GenlMessage { NetlinkPayload::InnerMessage(GenlMessage {