Skip to content

Commit 51ff27b

Browse files
committed
run rustfmt
1 parent dc5c1d1 commit 51ff27b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

pyo3-ffi/src/structmember.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ use std::ffi::c_int;
22

33
pub use crate::PyMemberDef;
44

5-
#[allow(deprecated)]
6-
pub use crate::_Py_T_OBJECT as T_OBJECT;
75
pub use crate::Py_T_BOOL as T_BOOL;
86
pub use crate::Py_T_BYTE as T_BYTE;
97
pub use crate::Py_T_CHAR as T_CHAR;
@@ -21,10 +19,12 @@ pub use crate::Py_T_UINT as T_UINT;
2119
pub use crate::Py_T_ULONG as T_ULONG;
2220
pub use crate::Py_T_ULONGLONG as T_ULONGLONG;
2321
pub use crate::Py_T_USHORT as T_USHORT;
22+
#[allow(deprecated)]
23+
pub use crate::_Py_T_OBJECT as T_OBJECT;
2424

25+
pub use crate::Py_T_PYSSIZET as T_PYSSIZET;
2526
#[allow(deprecated)]
2627
pub use crate::_Py_T_NONE as T_NONE;
27-
pub use crate::Py_T_PYSSIZET as T_PYSSIZET;
2828

2929
/* Flags */
3030
pub use crate::Py_READONLY as READONLY;

src/pyclass/create_type_object.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use crate::{
1111
assign_sequence_item_from_mapping, get_sequence_item_from_mapping, tp_dealloc,
1212
tp_dealloc_with_gc, PyClassImpl, PyClassItemsIter, PyObjectOffset,
1313
},
14-
pymethods::{_call_clear, Getter, PyGetterDef, PyMethodDefType, PySetterDef, Setter},
14+
pymethods::{Getter, PyGetterDef, PyMethodDefType, PySetterDef, Setter, _call_clear},
1515
trampoline::trampoline,
1616
},
1717
pycell::impl_::PyClassObjectLayout,

0 commit comments

Comments
 (0)