clippy fixes
This commit is contained in:
@@ -28,7 +28,7 @@ fn main() -> Result<()> {
|
||||
let mut terminal = Terminal::new(backend)?;
|
||||
|
||||
let configHome = var("XDG_CONFIG_HOME")
|
||||
.or_else(|_| var("HOME").map(|home| format!("{}/.config", home)))
|
||||
.or_else(|_| var("HOME").map(|home| format!("{home}/.config")))
|
||||
.unwrap_or("~/.config".to_string());
|
||||
// create app and run it
|
||||
let mut appSettings = AppState::new(format!("{configHome}/steckbrett.conf"));
|
||||
|
||||
Reference in New Issue
Block a user