mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Delete unnecessary mut
This commit is contained in:
1 parent
55332276ad
commit
135c0e56ef
1 file changed
+1
-1
@@ -456,7 +456,7 @@ mod decl {
|
||||
op: PyComparisonOp,
|
||||
) -> PyResult {
|
||||
let default = args.take_keyword("default");
|
||||
let mut key_func = args.take_keyword("key");
|
||||
let key_func = args.take_keyword("key");
|
||||
|
||||
if let Some(err) = args.check_kwargs_empty(vm) {
|
||||
return Err(err);
|
||||
|
||||
Reference in new issue
Block a user