diff --git a/proptest/src/arbitrary/_std/io.rs b/proptest/src/arbitrary/_std/io.rs index 640c8d13..4b043326 100644 --- a/proptest/src/arbitrary/_std/io.rs +++ b/proptest/src/arbitrary/_std/io.rs @@ -116,7 +116,7 @@ arbitrary!(ErrorKind, Union>; , Other , UnexpectedEof // TODO: watch this type for variant-additions. - ].into_iter().cloned().map(Just)) + ].iter().cloned().map(Just)) ); arbitrary!(