Skip to content

Commit d07780b

Browse files
committed
Made hex byte offset lowercase
1 parent adce17f commit d07780b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/uu/od/src/input_offset.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ impl InputOffset {
5151
match (self.radix, self.label) {
5252
(Radix::Decimal, None) => format!("{:07}", self.byte_pos),
5353
(Radix::Decimal, Some(l)) => format!("{:07} ({l:07})", self.byte_pos),
54-
(Radix::Hexadecimal, None) => format!("{:06X}", self.byte_pos),
55-
(Radix::Hexadecimal, Some(l)) => format!("{:06X} ({l:06X})", self.byte_pos),
54+
(Radix::Hexadecimal, None) => format!("{:06x}", self.byte_pos),
55+
(Radix::Hexadecimal, Some(l)) => format!("{:06x} ({l:06x})", self.byte_pos),
5656
(Radix::Octal, None) => format!("{:07o}", self.byte_pos),
5757
(Radix::Octal, Some(l)) => format!("{:07o} ({l:07o})", self.byte_pos),
5858
(Radix::NoPrefix, None) => String::new(),

0 commit comments

Comments
 (0)