From bb457c769e67679eda2ba567f4125aac5f29f88c Mon Sep 17 00:00:00 2001 From: dzmitry-lahoda Date: Sun, 3 Nov 2024 23:35:34 +0000 Subject: [PATCH] fixed CI --- .../schema/enums/snapshots/trailing_comma_generics.snap | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/borsh-derive/src/internals/schema/enums/snapshots/trailing_comma_generics.snap b/borsh-derive/src/internals/schema/enums/snapshots/trailing_comma_generics.snap index d6dfffc9a..1dc700234 100644 --- a/borsh-derive/src/internals/schema/enums/snapshots/trailing_comma_generics.snap +++ b/borsh-derive/src/internals/schema/enums/snapshots/trailing_comma_generics.snap @@ -1,6 +1,7 @@ --- source: borsh-derive/src/internals/schema/enums/mod.rs expression: pretty_print_syn_str(&actual).unwrap() +snapshot_kind: text --- impl borsh::BorshSchema for Side where @@ -41,12 +42,13 @@ where as borsh::BorshSchema>::add_definitions_recursively(definitions); as borsh::BorshSchema>::add_definitions_recursively(definitions); let definition = borsh::schema::Definition::Enum { - tag_width: 1, + tag_width: 1u8, variants: borsh::__private::maybestd::vec![ (u8::from(0u8) as i64, "Left".into(), < SideLeft < A > as borsh::BorshSchema > ::declaration()), (u8::from(1u8) as i64, "Right" .into(), < SideRight < B > as borsh::BorshSchema > ::declaration()) ], + tag_signed: false, }; borsh::schema::add_definition( ::declaration(), @@ -55,4 +57,3 @@ where ); } } -