fmt: add a small comment about f.line_len

pull/8790/head
Delyan Angelov 2021-02-16 10:22:39 +02:00
parent ad20b3806f
commit 0bbc5a5c6a
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ pub mut:
out strings.Builder
indent int
empty_line bool
line_len int
line_len int // the current line length, NB: it counts \t as 4 spaces, and starts at 0 after f.writeln
buffering bool // disables line wrapping for exprs that will be analyzed later
par_level int // how many parentheses are put around the current expression
array_init_break []bool // line breaks after elements in hierarchy level of multi dimensional array