mirror of
https://github.com/sayanarijit/xplr.git
synced 2024-08-17 15:00:27 +03:00
Linting fixes
This commit is contained in:
parent
89d7bccce8
commit
41648ced34
@ -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();
|
||||
|
@ -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())?;
|
||||
|
Loading…
Reference in New Issue
Block a user