diff options
| author | rChaser53 <tayoshizawa29@gmail.com> | 2019-09-05 19:38:00 +0900 |
|---|---|---|
| committer | Seiichi Uchida <seuchida@gmail.com> | 2019-09-05 19:38:00 +0900 |
| commit | 1ded995ee79c44069b7832e5aba00162fc2113fa (patch) | |
| tree | d625ce7ade9e714a085e416899823ffda03af618 /src | |
| parent | 783948fcbbf9c30b810b702b0b73a227359a6804 (diff) | |
fix 'left behind trailing whitespace' (#3761)
Diffstat (limited to 'src')
| -rw-r--r-- | src/visitor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/visitor.rs b/src/visitor.rs index 074ee37d104..dec39489a5e 100644 --- a/src/visitor.rs +++ b/src/visitor.rs @@ -623,7 +623,7 @@ impl<'b, 'a: 'b> FmtVisitor<'a> { self.push_str(s); } else { let snippet = self.snippet(span); - self.push_str(snippet); + self.push_str(snippet.trim()); } self.last_pos = source!(self, span).hi(); } |
