diff options
author | qkzk <qu3nt1n@gmail.com> | 2023-11-06 15:53:24 +0100 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2023-11-06 15:53:24 +0100 |
commit | 052d527c5f179380f67078cf423c8ae855a7b52a (patch) | |
tree | f0c74a75ff8eef8e16a3a5c2031c21774cfe7988 /src/tab.rs | |
parent | 214a07da9de5d1f4f6ec25d053216031b128c4b4 (diff) |
clippy
Diffstat (limited to 'src/tab.rs')
-rw-r--r-- | src/tab.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -339,7 +339,7 @@ impl Tab { let Some(parent) = self.tree.root_path().parent() else { return Ok(()); }; - self.set_pathcontent(&parent.to_owned())?; + self.set_pathcontent(parent.to_owned().as_ref())?; self.make_tree(Some(self.path_content.sort_kind.clone())) } else { self.tree.select_parent(); |