Simplify printf and shell format suggestions
This commit is contained in:
@@ -711,11 +711,9 @@ fn report_missing_placeholders(
|
||||
};
|
||||
|
||||
let pos = sub.position();
|
||||
let sub = String::from(sub.as_str());
|
||||
if explained.contains(&sub) {
|
||||
if !explained.insert(sub.to_string()) {
|
||||
continue;
|
||||
}
|
||||
explained.insert(sub);
|
||||
|
||||
if !found_foreign {
|
||||
found_foreign = true;
|
||||
|
||||
Reference in New Issue
Block a user