clippy cleanup
This commit is contained in:
parent
83d1a218b1
commit
d6f620dfd8
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue