diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-08-06 23:33:50 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-08-06 23:34:34 -0400 |
commit | ca38c4bfe41af677d6e4c98ec916f55764ef59cf (patch) | |
tree | 3beea0e3bb3e2dd6b0be5e7bbc4c064bbb62a659 /src/paint.rs | |
parent | 1c7a09130d54862c19dc5ed1c80e0cf17321b841 (diff) |
Fix comment
Diffstat (limited to 'src/paint.rs')
-rw-r--r-- | src/paint.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/paint.rs b/src/paint.rs index 0ef50fc1..a40a8e82 100644 --- a/src/paint.rs +++ b/src/paint.rs @@ -88,10 +88,10 @@ impl<'a> Painter<'a> { if !line.is_empty() { let mut line = line.graphemes(true); - // The first column contains a -/+/space character, added by git. We substitute it for a - // space now, so that it is not present during syntax highlighting. When emitting the line - // in Painter::paint_lines, we drop the space (unless --keep-plus-minus-markers is in - // effect in which case we replace it with the appropriate marker). + // The first column contains a -/+/space character, added by git. We substitute it for + // a space now, so that it is not present during syntax highlighting. When emitting the + // line in Painter::paint_line, we drop the space (unless --keep-plus-minus-markers is + // in effect in which case we replace it with the appropriate marker). // TODO: Things should, but do not, work if this leading space is omitted at this stage. // See comment in align::Alignment::new. line.next(); |