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

View File

@ -364,6 +364,7 @@ pub fn new(ip: Ipv6Addr, port: u16, flowinfo: u32, scope_id: u32) -> SocketAddrV
sin6_addr: *ip.as_inner(),
sin6_flowinfo: flowinfo,
sin6_scope_id: scope_id,
..unsafe { mem::zeroed() }
},
}
}