mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
d3d3d7d7be
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.