fix: ignore clippy lint

This commit is contained in:
binarybaron 2024-08-21 12:54:58 +02:00
parent 7eed9abb3d
commit 2f392a79e8
No known key found for this signature in database
GPG Key ID: 99B75D3E1476A26E

View File

@ -63,6 +63,7 @@ macro_rules! regex_find_placeholders {
// and if we didn't, generate a placeholder for it
for address in REGEX.find_iter($input) {
if !$replacements.contains_key(address.as_str()) {
#[allow(clippy::redundant_closure_call)]
$replacements.insert(address.as_str().to_owned(), $create_placeholder(counter));
counter += 1;
}