Skip to content

Commit a6f7bb8

Browse files
committed
Remove mut
1 parent 135c0e5 commit a6f7bb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vm/src/builtins/make_module.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,12 +511,12 @@ mod decl {
511511
}
512512

513513
#[pyfunction]
514-
fn max(mut args: FuncArgs, vm: &VirtualMachine) -> PyResult {
514+
fn max(args: FuncArgs, vm: &VirtualMachine) -> PyResult {
515515
min_or_max(args, vm, "max()", PyComparisonOp::Gt)
516516
}
517517

518518
#[pyfunction]
519-
fn min(mut args: FuncArgs, vm: &VirtualMachine) -> PyResult {
519+
fn min(args: FuncArgs, vm: &VirtualMachine) -> PyResult {
520520
min_or_max(args, vm, "min()", PyComparisonOp::Lt)
521521
}
522522

0 commit comments

Comments
 (0)