Skip to content

Commit

Permalink
IntoVisitor => DecodeAsType on a couple of tests to undo prev change
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdw committed Nov 10, 2023
1 parent 4c68d22 commit d177e4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scale-decode/src/impls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ mod test {
fn assert_encode_decode_to_with<T, A, B>(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::<T>();
Expand All @@ -697,7 +697,7 @@ mod test {
fn assert_encode_decode_to<A, B>(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, A, B>(a, b);
}
Expand Down

0 comments on commit d177e4f

Please sign in to comment.