#3016 Add backticks for the msg
This commit is contained in:
parent
c292b80783
commit
76f7bfcefd
2 changed files with 3 additions and 3 deletions
|
|
@ -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),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue