From 431513b324cc17c48638b81c90b98d749bad2ed5 Mon Sep 17 00:00:00 2001 From: Jonathan Reem Date: Mon, 15 Dec 2014 15:04:21 -0800 Subject: bitflags! derives Copy for you now, so remove our derivings. --- src/sys/socket.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/sys/socket.rs') diff --git a/src/sys/socket.rs b/src/sys/socket.rs index fed78a53..4bc704b9 100644 --- a/src/sys/socket.rs +++ b/src/sys/socket.rs @@ -25,7 +25,6 @@ mod ffi { // Extra flags - Supported by Linux 2.6.27, normalized on other platforms bitflags!( - #[deriving(Copy)] flags SockFlag: c_int { const SOCK_NONBLOCK = 0o0004000, const SOCK_CLOEXEC = 0o2000000 -- cgit v1.2.3