We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78144d3 commit 7bc7c9fCopy full SHA for 7bc7c9f
tests/with_custom_values.rs
@@ -64,7 +64,7 @@ fn test_reflexive_for_enum_with_custom_value() {
64
.map(|&x| -> Option<Color> { num_renamed::FromPrimitive::from_u64(x) })
65
.map(|x| x.and_then(|x| num_renamed::ToPrimitive::to_u64(&x)))
66
.collect();
67
- let before = before.into_iter().cloned().map(Some).collect::<Vec<_>>();
+ let before = before.iter().cloned().map(Some).collect::<Vec<_>>();
68
69
assert_eq!(before, after);
70
}
0 commit comments