Change reparse to cheap clone

This commit is contained in:
Erik Funder Carstensen 2021-11-06 11:59:46 +01:00
parent 42a4a080b0
commit 752479208b
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ impl Mime {
}
for (name, value) in other.params.iter() {
if !self
.param(name.as_str())
.param(name.clone())
.map(|v| v == value)
.unwrap_or(false)
{