From 03ce99b455894bbfdc36ff88b8af9a1189ddedb3 Mon Sep 17 00:00:00 2001 From: Knight Date: Wed, 1 Jun 2016 01:24:13 +0800 Subject: [PATCH] stat: fsext.rs: remove useless brackets --- src/stat/fsext.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stat/fsext.rs b/src/stat/fsext.rs index d28c1f32a..3802b63bb 100644 --- a/src/stat/fsext.rs +++ b/src/stat/fsext.rs @@ -9,7 +9,7 @@ pub use self::libc::{S_IFMT, S_IFDIR, S_IFCHR, S_IFBLK, S_IFREG, S_IFIFO, S_IFLN #[macro_export] macro_rules! has { ($mode:expr, $perm:expr) => ( - ($mode & $perm != 0) + $mode & $perm != 0 ) }