Skip to content

Commit

Permalink
run cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Dec 5, 2024
1 parent e6fb270 commit 8d31969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fermion_operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ impl KeysIterator {

fn __next__(&mut self) -> Option<PyObject> {
Python::with_gil(|py| {
return self
self
.keys
.next()
.map(|vec| PyTuple::new_bound(py, &vec).to_object(py));
.map(|vec| PyTuple::new_bound(py, &vec).to_object(py))
})
}
}
Expand Down

0 comments on commit 8d31969

Please sign in to comment.