浏览代码

Merge pull request #435 from teresy/shorthand-fields

refactor: use shorthand fields
Benjamin Sago 7 年之前
父节点
当前提交
efb0ad522c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/fs/feature/xattr.rs

+ 1 - 1
src/fs/feature/xattr.rs

@@ -131,7 +131,7 @@ mod lister {
                 FollowSymlinks::No  => 0x0000,
             };
 
-            Lister { c_flags: c_flags }
+            Lister { c_flags }
         }
 
         pub fn translate_attribute_name(&self, input: &[u8]) -> String {