1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

Merge pull request #6239 from cakebaker/od_remove_field_print_width_block

od: remove `print_width_block` field of `OutputInfo`
This commit is contained in:
Sylvestre Ledru 2024-04-15 17:45:01 +02:00 committed by GitHub
commit 39fa474ddc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,8 +38,6 @@ pub struct OutputInfo {
/// The number of bytes in a block. (This is the size of the largest datatype in `spaced_formatters`.) /// The number of bytes in a block. (This is the size of the largest datatype in `spaced_formatters`.)
pub byte_size_block: usize, pub byte_size_block: usize,
/// The width of a block in human readable format. (The size of the largest format.)
pub print_width_block: usize,
/// All formats. /// All formats.
spaced_formatters: Vec<SpacedFormatterItemInfo>, spaced_formatters: Vec<SpacedFormatterItemInfo>,
/// determines if duplicate output lines should be printed, or /// determines if duplicate output lines should be printed, or
@ -78,7 +76,6 @@ impl OutputInfo {
byte_size_line: line_bytes, byte_size_line: line_bytes,
print_width_line, print_width_line,
byte_size_block, byte_size_block,
print_width_block,
spaced_formatters, spaced_formatters,
output_duplicates, output_duplicates,
} }