Parcourir la source

Merge pull request #435 from teresy/shorthand-fields

refactor: use shorthand fields
Benjamin Sago il y a 7 ans
Parent
commit
efb0ad522c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/fs/feature/xattr.rs

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

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