From d177e4f9e900570903aae76953d185e7805344d1 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Fri, 10 Nov 2023 13:40:15 +0000 Subject: [PATCH] IntoVisitor => DecodeAsType on a couple of tests to undo prev change --- scale-decode/src/impls/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scale-decode/src/impls/mod.rs b/scale-decode/src/impls/mod.rs index 4c92040..de61b44 100644 --- a/scale-decode/src/impls/mod.rs +++ b/scale-decode/src/impls/mod.rs @@ -683,7 +683,7 @@ mod test { fn assert_encode_decode_to_with(a: &A, b: &B) where A: Encode, - B: IntoVisitor + PartialEq + core::fmt::Debug, + B: DecodeAsType + PartialEq + core::fmt::Debug, T: scale_info::TypeInfo + 'static, { let (type_id, types) = make_type::(); @@ -697,7 +697,7 @@ mod test { fn assert_encode_decode_to(a: &A, b: &B) where A: Encode + scale_info::TypeInfo + 'static, - B: IntoVisitor + PartialEq + core::fmt::Debug, + B: DecodeAsType + PartialEq + core::fmt::Debug, { assert_encode_decode_to_with::(a, b); }