Formatting

ida_star
Wilfred Hughes 2021-07-27 23:51:28 +07:00
parent c5aee5cc9d
commit d68d803521
1 changed files with 6 additions and 2 deletions

@ -95,8 +95,12 @@ fn main() {
}
// TODO: don't replace tab characters inside string literals.
let lhs_src = String::from_utf8_lossy(&lhs_bytes).to_string().replace("\t", " ");
let rhs_src = String::from_utf8_lossy(&rhs_bytes).to_string().replace("\t", " ");
let lhs_src = String::from_utf8_lossy(&lhs_bytes)
.to_string()
.replace("\t", " ");
let rhs_src = String::from_utf8_lossy(&rhs_bytes)
.to_string()
.replace("\t", " ");
let terminal_width = match matches.value_of("COLUMNS") {
Some(width) => width.parse::<usize>().unwrap(),