diff options
author | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-08-13 02:04:53 -0400 |
---|---|---|
committer | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-08-13 02:04:53 -0400 |
commit | 84f63f2f8306382dbf5cab819589161bf0b7c093 (patch) | |
tree | 6cad67cb9ef7d20f856138b333ac34f7b787fb71 /src/canvas.rs | |
parent | e1a73783861f526e65c4372ba01c95888b0b75b8 (diff) |
refactor: remove redundant newlines
Diffstat (limited to 'src/canvas.rs')
-rw-r--r-- | src/canvas.rs | 2 |
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( |