LeopoldArkham/humansize

`SizeFormatter` doesn't respect padding options

lnicola opened this issue · 0 comments

let size = 1_000_000usize;
println!("{:>15}", humansize::format_size(size, humansize::WINDOWS));
println!("{:>15}", humansize::SizeFormatter::new(size, humansize::WINDOWS));

// =>
//       976.56 kB
// 976.56 kB