Skip to content

Commit 1f7f37f

Browse files
committed
smaller
1 parent 016eb7a commit 1f7f37f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/random.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
//! With the [`rand`] crate installed, you can also use the [`rand::Rng`] APIs from the [`PyBitGeneratorGuard`]:
2525
//!
2626
//! ```
27-
//! use pyo3::prelude::*;
27+
//! # use pyo3::prelude::*;
2828
//! use rand::Rng as _;
29-
//! use numpy::random::{PyBitGenerator, PyBitGeneratorMethods as _};
29+
//! # use numpy::random::{PyBitGenerator, PyBitGeneratorMethods as _};
3030
//! # // TODO: reuse function definition from above?
3131
//! # fn default_bit_gen<'py>(py: Python<'py>) -> PyResult<Bound<'py, PyBitGenerator>> {
3232
//! # let default_rng = py.import("numpy.random")?.call_method0("default_rng")?;

0 commit comments

Comments
 (0)