Closed
Description
What it does
Checks for the use of concat!("takes a single string literal")
.
Advantage
Redundant code. The type of a literal yielded by concat!
and the type of a string literal are both &'static str
.
Drawbacks
No response
Example
let foo = concat!("foo");
Could be written as:
let foo = "foo";