mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-11 14:33:32 +00:00
![]() This makes it so that the `empty_line_after_outer_attribute` lint only checks for newlines between the end of the attribute and the beginning of the following item. We need to check for the empty line count being bigger than 2 because now the snippet of valid code contains only `\n` and splitting it produces `["", ""]` Invalid code will contain more than 2 empty strings. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |