From 66227e7cedef00e85016745d0a4e65c5d5d6aa72 Mon Sep 17 00:00:00 2001 From: lzutao Date: Wed, 30 Oct 2019 15:03:35 +0700 Subject: [PATCH] Use array::iter --- proptest/src/arbitrary/_std/io.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!(