Răsfoiți Sursa

refactor: use shorthand fields

teresy 7 ani în urmă
părinte
comite
d63917af47
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 {