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 ed0e859 commit 4994723Copy full SHA for 4994723
src/sys/socket/mod.rs
@@ -1292,7 +1292,7 @@ impl<'a> ControlMessage<'a> {
1292
}
1293
#[cfg(any(target_os = "android", target_os = "linux"))]
1294
ControlMessage::AlgSetIv(iv) => {
1295
- mem::size_of_val(&iv) + iv.len()
+ mem::size_of::<&[u8]>() + iv.len()
1296
},
1297
1298
ControlMessage::AlgSetOp(op) => {
0 commit comments