You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Clippy lint for calls to write! ,whose format string ends with a newline (\n), erroneously flags the case where the backslash itself is escaped (\\n). For example, the following Rust code triggers the warning:
use std::io;
use std::io::Write;
fn main() -> std::io::Result<()> {
write!(io::stdout(), "\\n")?;
Ok(())
}
The Clippy lint for calls to write! ,whose format string ends with a newline (\n), erroneously flags the case where the backslash itself is escaped (\\n). For example, the following Rust code triggers the warning:
I am using the following version of Clippy:
Thanks for creating such a great utility!
The text was updated successfully, but these errors were encountered: