summaryrefslogtreecommitdiffstats
path: root/src/canvas.rs
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2020-08-13 02:04:53 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2020-08-13 02:04:53 -0400
commit84f63f2f8306382dbf5cab819589161bf0b7c093 (patch)
tree6cad67cb9ef7d20f856138b333ac34f7b787fb71 /src/canvas.rs
parente1a73783861f526e65c4372ba01c95888b0b75b8 (diff)
refactor: remove redundant newlines
Diffstat (limited to 'src/canvas.rs')
-rw-r--r--src/canvas.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canvas.rs b/src/canvas.rs
index e44f0ac0..4e846bf6 100644
--- a/src/canvas.rs
+++ b/src/canvas.rs
@@ -170,7 +170,7 @@ impl Painter {
// Not required check but it runs only a few times... so whatever ig, prevents me from
// being dumb and leaving a help text section only one line long.
if section.len() > 1 {
- styled_help_spans.push(Span::from("\n\n"));
+ styled_help_spans.push(Span::from(""));
styled_help_spans
.push(Span::styled(section[0], self.colours.table_header_style));
styled_help_spans.extend(