Run autoformat

This commit is contained in:
jpk 2022-12-14 17:43:10 +01:00
parent cf842e0e32
commit 19a8de379c
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
use std::fs::File;
use std::io;
@ -12,7 +11,7 @@ use tobin::bindump;
use clap::Parser;
#[derive(Parser)]
#[command(version, about="A simple hexdump tool")]
#[command(version, about = "A simple hexdump tool")]
struct Arguments {
/// Revert a hexdump to binary
#[arg(short, long)]

View File

@ -1,6 +1,6 @@
use std::io;
pub fn bindump (mut reader: Box<dyn io::Read>, mut writer: Box<dyn io::Write>) {
pub fn bindump(mut reader: Box<dyn io::Read>, mut writer: Box<dyn io::Write>) {
let mut buffer = String::new();
match reader.read_to_string(&mut buffer) {
Ok(_) => {