Skip to content

Commit 9238090

Browse files
phimuemuejswrenn
authored andcommitted
Fix denied warning
1 parent 67b0d8e commit 9238090

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/lib.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,10 @@ pub trait Itertools: Iterator {
888888
/// ```rust
889889
/// use itertools::Itertools;
890890
///
891-
/// (1i32..42i32).map_into::<f64>().collect_vec();
891+
/// assert_eq!(
892+
/// (1i32..4i32).map_into::<f64>().collect_vec(),
893+
/// vec![1f64, 2f64, 3f64]
894+
/// );
892895
/// ```
893896
fn map_into<R>(self) -> MapInto<Self, R>
894897
where

0 commit comments

Comments
 (0)