Skip to content

Commit

Permalink
fmt: with nightly rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions committed Jul 11, 2024
1 parent afa9486 commit 677aeb9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions crates/decrypt-cookies/tests/reqwest_jar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ async fn to_jar() {
.get_cookies_all()
.await
.unwrap();
let a = all_cookies.iter().find(|v|v.host_key.contains("leetcode.cn")).unwrap();
let a = all_cookies
.iter()
.find(|v| v.host_key.contains("leetcode.cn"))
.unwrap();
dbg!(a);
let hd = all_cookies[1].get_set_cookie_header();
dbg!(&hd);
let jar: reqwest::cookie::Jar = all_cookies
.into_iter()
.collect();
let jar: reqwest::cookie::Jar = all_cookies.into_iter().collect();
let a = jar
.cookies(&Url::parse("https://leetcode.cn/").unwrap())
.unwrap();
Expand Down

0 comments on commit 677aeb9

Please sign in to comment.