mirror of
https://github.com/uutils/uutils-term-grid.git
synced 2026-06-10 16:13:01 -07:00
small fix for last_in_row
This commit is contained in:
+2
-3
@@ -490,12 +490,11 @@ impl fmt::Display for Display<'_> {
|
||||
f.write_str(contents)?;
|
||||
}
|
||||
};
|
||||
if last_in_row {
|
||||
f.write_str("\n")?;
|
||||
} else {
|
||||
if !last_in_row {
|
||||
f.write_str(&separator)?;
|
||||
}
|
||||
}
|
||||
f.write_str("\n")?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user