keepass-diff
keepass-diff copied to clipboard
style: clippy changes
Changes:
- use
String:new()
instead offormat!("")
- use
is_empty()
instead ofs == ""
- use reference iterator instead of
into_iter
- replace
write!
+ '\n' withwriteln!
- remove
mut
from vars with type&mut ...
- replace single branch
match
withif
pattern match - replace
Stack::to_string
withDisplay
trait - replace match with pattern matching in
fn main
- use reference to file name, instead of direct ownership