chore: Run rustfmt for let-else statements
This commit is contained in:
parent
be611fc258
commit
e751c1b2ac
@ -205,8 +205,9 @@ fn get_page_ids(url: &str) -> Result<HashMap<String, HasDuplicates>> {
|
|||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
|
|
||||||
let Some(id) = tag.attributes.get(b"id".as_slice())
|
let Some(id) =
|
||||||
.and_then(|s| String::from_utf8(s.0.clone()).ok()) else {
|
tag.attributes.get(b"id".as_slice()).and_then(|s| String::from_utf8(s.0.clone()).ok())
|
||||||
|
else {
|
||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user