chore(lint): extend low-risk clippy cleanup batch

- normalize numeric literals (115_200) in hardware/peripheral config paths

- remove test-only useless format! allocations in discord IDs

- simplify closures and auto-deref in browser/http/rag/peripherals

- keep behavior unchanged while reducing warning surface
This commit is contained in:
Chummy 2026-02-17 16:33:10 +08:00
parent 4413790859
commit abdf99cf8c
8 changed files with 12 additions and 14 deletions

View file

@ -91,7 +91,7 @@ pub fn handle_command(cmd: crate::PeripheralCommands, config: &Config) -> Result
board: board.clone(),
transport: transport.to_string(),
path: path_opt,
baud: 115200,
baud: 115_200,
});
cfg.save()?;
println!("Added {} at {}. Restart daemon to apply.", board, path);