We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eca5fba commit 65bddc2Copy full SHA for 65bddc2
mnl/src/messages.rs
@@ -36,7 +36,7 @@ impl<'a> Iterator for NlMessages<'a> {
36
}
37
38
// Safety:
39
- // nlmsghdr is a C struct, and we've checked alignment and length
+ // nlmsghdr is a C struct, valid for all bit-patters, and we've checked alignment and length
40
let header = unsafe { header.read() };
41
42
let msg_len = header.nlmsg_len as usize;
0 commit comments