Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ndarray_from_numpy example to code not pointed out to clippy
  • Loading branch information
higumachan authored Feb 16, 2024
commit fc48e32478c246ef593a8b3ba652d0390b74b6ff
4 changes: 2 additions & 2 deletions src/doc/ndarray_for_numpy_users/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@
//!
//! </td><td>
//!
//! `a.mapv(|x| f32::from(x))`
//! `a.mapv(f32::from)`
//!
//! </td><td>
//!
Expand All @@ -619,7 +619,7 @@
//!
//! </td><td>
//!
//! `a.mapv(|x| i32::from(x))`
//! `a.mapv(i32::from)`
//!
//! </td><td>
//!
Expand Down