1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fmt: remove trailing spaces

This commit is contained in:
Alexander Medvednikov
2019-08-17 22:19:37 +03:00
parent 8a1324c141
commit fe2d2bd2a3
9 changed files with 1049 additions and 1049 deletions

View File

@ -2,13 +2,13 @@
// Use of this source code is governed by an MIT license
// that can be found in the LICENSE file.
module main
module main
import strings
import strings
// fmt helpers
fn (scanner mut Scanner) fgen(s_ string) {
mut s := s_
mut s := s_
if scanner.fmt_line_empty {
s = strings.repeat(`\t`, scanner.fmt_indent) + s
}
@ -17,7 +17,7 @@ fn (scanner mut Scanner) fgen(s_ string) {
}
fn (scanner mut Scanner) fgenln(s_ string) {
mut s := s_
mut s := s_
if scanner.fmt_line_empty {
s = strings.repeat(`\t`, scanner.fmt_indent) + s
}