generated from PlexSheep/baserepo
fix small formatting issue in hedu
This commit is contained in:
parent
747c3e6eac
commit
b58dc3dc44
|
@ -6,7 +6,7 @@
|
|||
//! This crate is currently empty.
|
||||
|
||||
use anyhow::{bail, Result};
|
||||
use libpt_log::error;
|
||||
use libpt_log::{error, trace};
|
||||
use std::io::{prelude::*, BufReader};
|
||||
|
||||
const BYTES_PER_LINE: usize = 16;
|
||||
|
@ -41,6 +41,9 @@ where
|
|||
}
|
||||
print!("{:02X} ", buf[i]);
|
||||
}
|
||||
if len == BYTES_PER_LINE / 2 {
|
||||
print!(" ")
|
||||
}
|
||||
for i in 0..(BYTES_PER_LINE - len) {
|
||||
if i as usize % BYTES_PER_LINE == BYTES_PER_LINE / 2 {
|
||||
print!(" ");
|
||||
|
|
Reference in New Issue