Skip to content

Commit

Permalink
Clippy 3
Browse files Browse the repository at this point in the history
  • Loading branch information
InSyncWithFoo committed Nov 23, 2024
1 parent 90acf5f commit 44d0d5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fn extract_dict_and_key_from_test(test: &Expr) -> Option<(&Dict, &Key)> {
}

fn extract_dict_and_key_from_del(body: &[Stmt]) -> Option<(&Dict, &Key)> {
let [Stmt::Delete(StmtDelete { targets, .. })] = &body[..] else {
let [Stmt::Delete(StmtDelete { targets, .. })] = body else {
return None;
};
let [Expr::Subscript(ExprSubscript { value, slice, .. })] = &targets[..] else {
Expand Down

0 comments on commit 44d0d5b

Please sign in to comment.