refactor: use shorthand fields

This commit is contained in:
teresy 2018-11-06 17:43:01 -05:00
parent 57e4c08411
commit d63917af47

View File

@ -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 {