mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 18:24:05 +02:00
clippy fixes
This commit is contained in:
parent
b9d311f16f
commit
f7190dca0f
13 changed files with 23 additions and 25 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue