From 9918693037dce8aa4bb6f08741b6812923486c18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 19 Jun 2024 11:26:03 +0200 Subject: Merging upstream version 1.76.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/proptest/src/arbitrary/_alloc/ops.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'vendor/proptest/src/arbitrary') diff --git a/vendor/proptest/src/arbitrary/_alloc/ops.rs b/vendor/proptest/src/arbitrary/_alloc/ops.rs index 338f52c50..ab1ffa7bb 100644 --- a/vendor/proptest/src/arbitrary/_alloc/ops.rs +++ b/vendor/proptest/src/arbitrary/_alloc/ops.rs @@ -48,14 +48,14 @@ lift1!([PartialOrd] Range; base => { #[cfg(feature = "unstable")] arbitrary!( - [Y: Arbitrary, R: Arbitrary] GeneratorState, + [Y: Arbitrary, R: Arbitrary] CoroutineState, TupleUnion<(WA>, WA>)>, product_type![Y::Parameters, R::Parameters]; args => { let product_unpack![y, r] = args; prop_oneof![ - static_map(any_with::(y), GeneratorState::Yielded), - static_map(any_with::(r), GeneratorState::Complete) + static_map(any_with::(y), CoroutineState::Yielded), + static_map(any_with::(r), CoroutineState::Complete) ] } ); @@ -65,7 +65,7 @@ use core::fmt; #[cfg(feature = "unstable")] impl - functor::ArbitraryF2 for GeneratorState + functor::ArbitraryF2 for CoroutineState { type Parameters = (); @@ -79,8 +79,8 @@ impl BS: Strategy + 'static, { prop_oneof![ - fst.prop_map(GeneratorState::Yielded), - snd.prop_map(GeneratorState::Complete) + fst.prop_map(CoroutineState::Yielded), + snd.prop_map(CoroutineState::Complete) ] .boxed() } @@ -99,6 +99,6 @@ mod test { #[cfg(feature = "unstable")] no_panic_test!( - generator_state => GeneratorState + generator_state => CoroutineState ); } -- cgit v1.2.3