diff options
author | Bryant Mairs <bryantmairs@google.com> | 2018-01-14 09:58:24 -0800 |
---|---|---|
committer | Bryant Mairs <bryantmairs@google.com> | 2018-01-28 15:35:35 -0800 |
commit | 5db605ad599a56ed79969b929732fabf03374ae1 (patch) | |
tree | 24ad3fd11ec1c2be8849296174d5519ff3679394 /src/sys/socket/addr.rs | |
parent | 04b0978c25d323c59d687e0ded1814b19ae7c6eb (diff) | |
download | nix-5db605ad599a56ed79969b929732fabf03374ae1.zip |
Implement Copy/Clone for all types missing it
Diffstat (limited to 'src/sys/socket/addr.rs')
-rw-r--r-- | src/sys/socket/addr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/socket/addr.rs b/src/sys/socket/addr.rs index af8db15a..6b3438a6 100644 --- a/src/sys/socket/addr.rs +++ b/src/sys/socket/addr.rs @@ -392,7 +392,7 @@ impl fmt::Debug for InetAddr { * ===== IpAddr ===== * */ - +#[derive(Clone, Copy)] pub enum IpAddr { V4(Ipv4Addr), V6(Ipv6Addr), |