Skip to content

Commit 5341d3e

Browse files
authored
Merge pull request #173 from lzutao/patch-1
Use slice::iter
2 parents 7d3310c + 66227e7 commit 5341d3e

File tree

1 file changed

+1
-1
lines changed
  • proptest/src/arbitrary/_std

1 file changed

+1
-1
lines changed

proptest/src/arbitrary/_std/io.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ arbitrary!(ErrorKind, Union<Just<Self>>;
116116
, Other
117117
, UnexpectedEof
118118
// TODO: watch this type for variant-additions.
119-
].into_iter().cloned().map(Just))
119+
].iter().cloned().map(Just))
120120
);
121121

122122
arbitrary!(

0 commit comments

Comments
 (0)