Revert "[net] clippy: needless_update"

This reverts commit 058699d0a2.
This commit is contained in:
wcampbell 2020-10-19 07:22:45 -04:00
parent ce04836327
commit 736c27ec0b
1 changed files with 1 additions and 0 deletions

View File

@ -364,6 +364,7 @@ impl SocketAddrV6 {
sin6_addr: *ip.as_inner(),
sin6_flowinfo: flowinfo,
sin6_scope_id: scope_id,
..unsafe { mem::zeroed() }
},
}
}