Run autoformat
This commit is contained in:
parent
cf842e0e32
commit
19a8de379c
|
@ -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)]
|
||||
|
|
|
@ -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(_) => {
|
||||
|
|
Loading…
Reference in New Issue