summaryrefslogtreecommitdiff
path: root/src/sys/ioctl/bsd.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2020-03-08 20:57:04 -0600
committerAlan Somers <asomers@gmail.com>2020-03-08 22:27:36 -0600
commit5c3fbbbdf129d714c98ce45fb96f96ada1f5522a (patch)
tree4383bdbd1507990abbb8749a89a92fee6d963b3d /src/sys/ioctl/bsd.rs
parent837fb44ac1e36db7e54f683c7c5a530eb0fc5ed5 (diff)
downloadnix-5c3fbbbdf129d714c98ce45fb96f96ada1f5522a.zip
Fix a lint on Rust nightly 1.43.0
Diffstat (limited to 'src/sys/ioctl/bsd.rs')
-rw-r--r--src/sys/ioctl/bsd.rs2
1 files changed, 1 insertions, 1 deletions
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;
}