#3016 Add backticks for the msg

This commit is contained in:
Lachezar Lechev
2018-08-20 15:50:15 +02:00
parent c292b80783
commit 76f7bfcefd
2 changed files with 3 additions and 3 deletions

View File

@@ -219,7 +219,7 @@ impl EarlyLintPass for Pass {
cx,
WRITELN_EMPTY_STRING,
mac.span,
format!("using writeln!({}, \"\")", suggestion).as_str(),
format!("using `writeln!({}, \"\")`", suggestion).as_str(),
"replace it with",
format!("writeln!({})", suggestion),
);