Skip to content

Commit fa9be2f

Browse files
author
MarcoFalke
committed
lint: [doc] Clarify Windows line endings (CR LF) not to be used
1 parent 842f7fd commit fa9be2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/lint/test_runner/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ fn lint_trailing_whitespace() -> LintResult {
137137
if trailing_space {
138138
Err(r#"
139139
^^^
140-
Trailing whitespace is problematic, because git may warn about it, or editors may remove it by
141-
default, forcing developers in the future to either undo the changes manually or spend time on
142-
review.
140+
Trailing whitespace (including Windows line endings [CR LF]) is problematic, because git may warn
141+
about it, or editors may remove it by default, forcing developers in the future to either undo the
142+
changes manually or spend time on review.
143143
144144
Thus, it is best to remove the trailing space now.
145145

0 commit comments

Comments
 (0)