Skip to content

Commit d7aabfd

Browse files
committed
Fix README example
1 parent 2cc638b commit d7aabfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ numpy = "0.3"
4545
``` rust
4646
extern crate numpy;
4747
extern crate pyo3;
48-
use numpy::{IntoPyResult, PyArray1, get_array_module};
48+
use numpy::{PyArray1, get_array_module};
4949
use pyo3::prelude::{ObjectProtocol, PyDict, PyResult, Python};
5050

5151
fn main() -> Result<(), ()> {
@@ -95,7 +95,7 @@ extern crate numpy;
9595
extern crate pyo3;
9696

9797
use ndarray::{ArrayD, ArrayViewD, ArrayViewMutD};
98-
use numpy::{PyArrayDyn, ToPyArray};
98+
use numpy::{IntoPyResult, PyArrayDyn, ToPyArray};
9999
use pyo3::prelude::{pymodinit, PyModule, PyResult, Python};
100100

101101
#[pymodinit]

0 commit comments

Comments
 (0)