Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ztroop committed Feb 23, 2024
1 parent 15b5e38 commit 64706db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/viewer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl FileDiffViewer {
.fg(Color::White)
.add_modifier(Modifier::REVERSED)
} else {
byte_style(byte) // Implement this function based on your byte styling logic
byte_style(byte)
};
Span::styled(format!("{:02x} ", byte), style)
})
Expand All @@ -131,7 +131,7 @@ impl FileDiffViewer {
.fg(Color::White)
.add_modifier(Modifier::REVERSED)
} else {
byte_style(byte) // Use the same byte styling logic here
byte_style(byte)
};
let ascii_char = if byte.is_ascii_graphic() || byte.is_ascii_whitespace() {
byte as char
Expand Down

0 comments on commit 64706db

Please sign in to comment.