Skip to content

Commit e057ed0

Browse files
committed
Remove unnecessary ?
1 parent f8b770f commit e057ed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fn main_<'py>(py: Python<'py>) -> PyResult<()> {
6565
let pyarray: &PyArray1<i32> = py
6666
.eval("np.array([1, 2, 3], dtype='int32')", Some(&dict), None)?
6767
.extract()?;
68-
let slice = pyarray.as_slice()?;
68+
let slice = pyarray.as_slice();
6969
assert_eq!(slice, &[1, 2, 3]);
7070
Ok(())
7171
}

0 commit comments

Comments
 (0)