Do not lint write_with_newline when there is more than one newline #2990
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
I-false-positive
Issue: The lint was triggered on code it shouldn't have
My code uses:
I believe the above is clearer than Clippy's suggestion, in which one newline is written by the macro and one newline is written by my string:
Mentioning @estk who worked on this lint in #2630.
The text was updated successfully, but these errors were encountered: