mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
clippy: fix warnings in components/net (#31564)
* clippy: fix some warnings in components/net * fix: review comments * fix: tidy
This commit is contained in:
parent
099bb0fa19
commit
67b277c992
22 changed files with 325 additions and 379 deletions
|
@ -33,7 +33,7 @@ fn test_refreshing_resource_sets_done_chan_the_appropriate_value() {
|
|||
response
|
||||
.headers
|
||||
.insert(EXPIRES, HeaderValue::from_str("-10").unwrap());
|
||||
let mut cache = HttpCache::new();
|
||||
let mut cache = HttpCache::default();
|
||||
response_bodies.iter().for_each(|body| {
|
||||
*response.body.lock().unwrap() = body.clone();
|
||||
// First, store the 'normal' response.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue