mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
fix redundant closures in component/script/dom (#31917)
* fixed unnecessary conversions * resolved conflicts * resolved conflicts * fix redundant closures in component/script/dom * resolved conflicts * fixed formatting
This commit is contained in:
parent
f183170786
commit
1bc63801e7
26 changed files with 35 additions and 44 deletions
|
@ -165,7 +165,7 @@ impl HeadersMethods for Headers {
|
|||
let valid_name = validate_name(name)?;
|
||||
Ok(
|
||||
get_value_from_header_list(&valid_name, &self.header_list.borrow())
|
||||
.map(|v| ByteString::new(v)),
|
||||
.map(ByteString::new),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue