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 4a83f8b commit 8aa85bbCopy full SHA for 8aa85bb
src/sys/socket/mod.rs
@@ -1298,7 +1298,7 @@ impl<'a> ControlMessage<'a> {
1298
}
1299
#[cfg(any(target_os = "android", target_os = "linux"))]
1300
ControlMessage::AlgSetIv(iv) => {
1301
- mem::size_of_val(&iv) + iv.len()
+ mem::size_of::<&[u8]>() + iv.len()
1302
},
1303
1304
ControlMessage::AlgSetOp(op) => {
0 commit comments