Skip to content

Commit

Permalink
Revert "[net] clippy: needless_update"
Browse files Browse the repository at this point in the history
This reverts commit 058699d.
  • Loading branch information
wcampbell0x2a committed Oct 19, 2020
1 parent ce04836 commit 736c27e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/std/src/net/addr.rs
Expand Up @@ -364,6 +364,7 @@ impl SocketAddrV6 {
sin6_addr: *ip.as_inner(),
sin6_flowinfo: flowinfo,
sin6_scope_id: scope_id,
..unsafe { mem::zeroed() }
},
}
}
Expand Down

0 comments on commit 736c27e

Please sign in to comment.