Skip to content

Commit 8f5b6ca

Browse files
committed
clippy
1 parent 514afdb commit 8f5b6ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/http/src/reqwest_cookie_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl CookieStoreMutex {
6666

6767
pub fn save<W: std::io::Write>(&self, writer: &mut W) -> cookie_store::Result<()> {
6868
let store = self.lock().expect("poisoned cookie jar mutex");
69-
cookie_store::serde::save(&store, writer, |c| serde_json::to_string(c))
69+
cookie_store::serde::save(&store, writer, serde_json::to_string)
7070
}
7171
}
7272

0 commit comments

Comments
 (0)