Skip to content

Commit bda5de9

Browse files
committed
Removed Debug, added pyobject_native_type_fmt
1 parent b0bf63d commit bda5de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ use crate::types::Element;
7575
/// array![[8., 15.], [12., 23.]]
7676
/// );
7777
/// ```
78-
#[derive(Debug)]
7978
pub struct PyArray<T, D>(PyAny, PhantomData<T>, PhantomData<D>);
8079

8180
/// One-dimensional array.
@@ -111,6 +110,7 @@ pyobject_native_type_convert!(
111110
);
112111

113112
pyobject_native_type_named!(PyArray<T, D>, T, D);
113+
pyobject_native_type_fmt!(PyArray<T, D>, T, D);
114114

115115
impl<'a, T, D> std::convert::From<&'a PyArray<T, D>> for &'a PyAny {
116116
fn from(ob: &'a PyArray<T, D>) -> Self {

0 commit comments

Comments
 (0)