Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Dec 5, 2024
1 parent 54cd90b commit c90a8ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/fermion_operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ impl KeysIterator {

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

0 comments on commit c90a8ae

Please sign in to comment.