diff options
author | Dan Davison <dandavison7@gmail.com> | 2021-03-09 22:09:36 -0500 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2021-03-09 22:09:36 -0500 |
commit | a872caa31cf38770448583944960963620625e15 (patch) | |
tree | 3f2c5ced723e56d32b556e324ead128ef130eb8e | |
parent | 693d71d0bb6570705ae30bb732c20fe99fa49f14 (diff) |
Clippy
-rw-r--r-- | src/features/navigate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/navigate.rs b/src/features/navigate.rs index 30567c7c..a38815a6 100644 --- a/src/features/navigate.rs +++ b/src/features/navigate.rs @@ -97,7 +97,7 @@ fn get_less_hist_file() -> Option<PathBuf> { } Err(_) => { // The user is using the default less histfile location. - let mut hist_file = home_dir.clone(); + let mut hist_file = home_dir; hist_file.push(if cfg!(windows) { "_lesshst" } else { |