Adopt let else in more places
This commit is contained in:
parent
b8c56fa8c3
commit
2ef8af6619
132 changed files with 539 additions and 881 deletions
|
@ -628,9 +628,8 @@ where
|
|||
ret
|
||||
});
|
||||
|
||||
let mut html_diff = match html_diff {
|
||||
Cow::Borrowed(_) => return raw_diff,
|
||||
Cow::Owned(s) => s,
|
||||
let Cow::Owned(mut html_diff) = html_diff else {
|
||||
return raw_diff;
|
||||
};
|
||||
|
||||
if inside_font_tag {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue