misc: clippy fixes

This commit is contained in:
2025-06-22 00:30:27 +01:00
parent 22a8785083
commit 1907bbb200
9 changed files with 21 additions and 26 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ pub mod logging;
use std::io::Write;
pub fn input(prompt: &str) -> String {
print!("{}\n > ", prompt);
print!("{prompt}\n > ");
std::io::stdout().flush().unwrap();
let mut input = String::new();
std::io::stdin().read_line(&mut input).unwrap();