diff options
author | Jeff Zhao <jeff.no.zhao@gmail.com> | 2021-09-27 19:14:46 -0400 |
---|---|---|
committer | Jeff Zhao <jeff.no.zhao@gmail.com> | 2021-09-27 19:14:46 -0400 |
commit | b209d268a67b43b1f2fa073ef62cf810eb62c447 (patch) | |
tree | 4486e18417d70f4212bef9c14158f19f974c9ef0 /src/history.rs | |
parent | 98aaa57fb33e69fb6daf12b828ac6384caece44b (diff) |
code cleanup
Diffstat (limited to 'src/history.rs')
-rw-r--r-- | src/history.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history.rs b/src/history.rs index c46d1e4..c426f8f 100644 --- a/src/history.rs +++ b/src/history.rs @@ -25,7 +25,7 @@ impl DirectoryHistory for JoshutoHistory { let mut prev: Option<&Path> = None; for curr in path.ancestors() { if self.contains_key(curr) { - let mut new_dirlist = create_dirlist_with_history(self, curr, &options)?; + let mut new_dirlist = create_dirlist_with_history(self, curr, options)?; if let Some(ancestor) = prev.as_ref() { if let Some(i) = get_index_of_value(&new_dirlist.contents, ancestor) { new_dirlist.index = Some(i); |