Skip to content

Commit 59b773f

Browse files
committed
Merge bitcoin/bitcoin#30010: lint: [doc] Clarify Windows line endings (CR LF) not to be used
fa9be2f lint: [doc] Clarify Windows line endings (CR LF) not to be used (MarcoFalke) Pull request description: It has been this case since the linter was introduced years ago. Given a misunderstanding (bitcoin/bitcoin#28074 (comment)), clarify the docs. ACKs for top commit: brunoerg: ACK fa9be2f Tree-SHA512: be714db9df533e0962ed84102ffdb72717902949b930d58cf5a79cba36297f6b2b1f75e65a2c1f46bcb8e2f4ad5d025f3d15210f468a5ec9631a580b74f923ea
2 parents 1cc3aa4 + fa9be2f commit 59b773f

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)