mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
Make clippy happy (again)
This commit is contained in:
parent
f8a23221e8
commit
fa9be0d8b5
1 changed files with 2 additions and 3 deletions
|
@ -47,10 +47,9 @@ impl SavePaths {
|
|||
}
|
||||
|
||||
fn next_to_exe_path() -> PathBuf {
|
||||
let base_path = std::env::current_exe()
|
||||
std::env::current_exe()
|
||||
.map(|p| p.parent().unwrap().to_path_buf())
|
||||
.unwrap_or(".".into());
|
||||
base_path
|
||||
.unwrap_or(".".into())
|
||||
}
|
||||
|
||||
fn settings_next_to_exe_path() -> PathBuf {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue