mirror of https://github.com/http-rs/http-types
Change reparse to cheap clone
This commit is contained in:
parent
42a4a080b0
commit
752479208b
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue