From 5c3fbbbdf129d714c98ce45fb96f96ada1f5522a Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sun, 8 Mar 2020 20:57:04 -0600 Subject: Fix a lint on Rust nightly 1.43.0 --- src/sys/ioctl/bsd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sys/ioctl/bsd.rs b/src/sys/ioctl/bsd.rs index 9b8b0ff1..20c80448 100644 --- a/src/sys/ioctl/bsd.rs +++ b/src/sys/ioctl/bsd.rs @@ -14,7 +14,7 @@ mod consts { #[doc(hidden)] pub const IN: ioctl_num_type = 0x8000_0000; #[doc(hidden)] - pub const INOUT: ioctl_num_type = (IN|OUT); + pub const INOUT: ioctl_num_type = IN|OUT; #[doc(hidden)] pub const IOCPARM_MASK: ioctl_num_type = 0x1fff; } -- cgit v1.2.3