1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

clippy fixes

This commit is contained in:
Robin Appelman 2025-07-13 23:18:50 +02:00
commit f7190dca0f
13 changed files with 23 additions and 25 deletions

View file

@ -25,7 +25,7 @@ fn main() -> Result<(), MainError> {
let parser = DemoParser::new_with_analyser(demo.get_stream(), PropAnalyzer::default());
let (_, state) = parser.parse()?;
for prop in state {
println!("{}", prop);
println!("{prop}");
}
Ok(())
}
@ -76,7 +76,7 @@ impl MessageHandler for PropAnalyzer {
.into_iter()
.map(|prop| {
let (table, name) = names.get(&prop).unwrap();
format!("{}.{}", table, name)
format!("{table}.{name}")
})
.collect::<Vec<_>>();
props.sort();