Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanarijit committed May 5, 2024
1 parent 89d7bcc commit 41648ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ impl App {
}

if let Some(sorters) = &config.general.initial_sorting {
explorer_config.sorters = sorters.clone();
explorer_config.sorters.clone_from(sorters);
};

let hostname = gethostname().to_string_lossy().to_string();
Expand Down
2 changes: 1 addition & 1 deletion src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ impl Runner {
}

if app.pwd != last_pwd {
last_pwd = app.pwd.clone();
last_pwd.clone_from(&app.pwd);

// $PWD watcher
tx_pwd_watcher.send(app.pwd.clone())?;
Expand Down

0 comments on commit 41648ce

Please sign in to comment.