summaryrefslogtreecommitdiffstats
path: root/src/fs/feature/xattr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/feature/xattr.rs')
-rw-r--r--src/fs/feature/xattr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/feature/xattr.rs b/src/fs/feature/xattr.rs
index f39e3c8..d028e17 100644
--- a/src/fs/feature/xattr.rs
+++ b/src/fs/feature/xattr.rs
@@ -126,13 +126,13 @@ mod lister {
}
impl Lister {
- pub fn new(do_follow: FollowSymlinks) -> Lister {
+ pub fn new(do_follow: FollowSymlinks) -> Self {
let c_flags: c_int = match do_follow {
FollowSymlinks::Yes => 0x0001,
FollowSymlinks::No => 0x0000,
};
- Lister { c_flags }
+ Self { c_flags }
}
pub fn translate_attribute_name(&self, input: &[u8]) -> String {