clippy cleanup

This commit is contained in:
Pedro de Oliveira 2022-11-13 04:58:21 +00:00
parent 83d1a218b1
commit d6f620dfd8
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ fn main() {
);
let matches = cmd.get_matches();
let matches = match matches.subcommand() {
match matches.subcommand() {
Some(("info", arguments)) => {
let filename = arguments.get_one::<String>("file").unwrap();
let voc = voc::VocFile::from_file(filename);

View File

@ -179,7 +179,7 @@ impl VocFile {
// Iterate Blocks
for block in &self.blocks {
result.extend_from_slice(&*block.to_bytes());
result.extend_from_slice(&block.to_bytes());
}
result