Skip to content

Commit

Permalink
[squash] Make fmt happy
Browse files Browse the repository at this point in the history
  • Loading branch information
kralka committed Feb 3, 2025
1 parent 6c03b5d commit 739fbfe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ mod static_iter {
/// - Python does not guarantee that __del__ is called right away (or at all). Thus RustIter
/// also implements a context manager which is guaranteed to call __exit__ and drop memory
/// owned by the corresponding ExampleIterator.
static STATIC_ITERATORS: std::sync::LazyLock<
std::sync::Mutex<HashMap<i32, ExampleIterator>>,
> = std::sync::LazyLock::new(|| std::sync::Mutex::new(HashMap::new()));
static STATIC_ITERATORS: std::sync::LazyLock<std::sync::Mutex<HashMap<i32, ExampleIterator>>> =
std::sync::LazyLock::new(|| std::sync::Mutex::new(HashMap::new()));

#[pyclass]
pub struct RustIter {
Expand Down

0 comments on commit 739fbfe

Please sign in to comment.