Skip to content

Commit 6c15aa0

Browse files
committed
Fix fmt
1 parent 60cbea6 commit 6c15aa0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/source/contributor-guide/ffi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ PyO3 class mutability guidelines
146146

147147
PyO3 bindings should present immutable wrappers whenever a struct stores shared or
148148
interior-mutable state. In practice this means that any ``#[pyclass]`` containing an
149-
``Arc<RwLock<_>>`` or similar synchronized primitive must opt into ``#[pyclass(from_py_object, frozen)]``
149+
``Arc<RwLock<_>>`` or similar synchronized primitive must opt into ``#[pyclass(frozen)]``
150150
unless there is a compelling reason not to.
151151

152152
The :mod:`datafusion` configuration helpers illustrate the preferred pattern. The

src/expr/set_comparison.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@
1818
use datafusion::logical_expr::expr::SetComparison;
1919
use pyo3::prelude::*;
2020

21-
use crate::expr::PyExpr;
22-
2321
use super::subquery::PySubquery;
22+
use crate::expr::PyExpr;
2423

2524
#[pyclass(
2625
from_py_object,

0 commit comments

Comments
 (0)