Skip to content

Commit

Permalink
Merge pull request #173 from lzutao/patch-1
Browse files Browse the repository at this point in the history
Use slice::iter
  • Loading branch information
Centril authored Jan 17, 2020
2 parents 7d3310c + 66227e7 commit 5341d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proptest/src/arbitrary/_std/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ arbitrary!(ErrorKind, Union<Just<Self>>;
, Other
, UnexpectedEof
// TODO: watch this type for variant-additions.
].into_iter().cloned().map(Just))
].iter().cloned().map(Just))
);

arbitrary!(
Expand Down

0 comments on commit 5341d3e

Please sign in to comment.