Missing \n at the end of log! and log_chronik! macro invocations in Rust files are now reported by LogLint.
Since string literals in Rust are allowed to contain newline characters, we need to insert a \s into the regex.
Differential D13556
[Lint] Also catch `log!` and `log_chronik!` in .rs files in LogLinter tobias_ruck on Apr 4 2023, 09:41. Authored by Tags None Subscribers None
Details
Missing \n at the end of log! and log_chronik! macro invocations in Rust files are now reported by LogLint. Since string literals in Rust are allowed to contain newline characters, we need to insert a \s into the regex.
Diff Detail
|