소스 검색

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 {