-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesI-false-positiveIssue: The lint was triggered on code it shouldn't haveIssue: The lint was triggered on code it shouldn't have
Description
My code uses:
write!(file, "// THIS FILE IS AUTOMATICALLY GENERATED; DO NOT EDIT\n\n")?;
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:
writeln!(file, "// THIS FILE IS AUTOMATICALLY GENERATED; DO NOT EDIT\n")?;
killercup
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesI-false-positiveIssue: The lint was triggered on code it shouldn't haveIssue: The lint was triggered on code it shouldn't have