We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db9810d commit d6921eeCopy full SHA for d6921ee
1 file changed
src/tests.rs
@@ -294,7 +294,7 @@ fn basic_enum_with_index() {
294
#[allow(unused)]
295
#[derive(Encode)]
296
enum IndexedRustEnum {
297
- #[codec(index = 3)]
+ #[codec(index = 4)]
298
A(bool),
299
#[codec(index = 0)]
300
B {
@@ -312,7 +312,7 @@ fn basic_enum_with_index() {
312
.variant(
313
Variants::new()
314
.variant("A", |v| {
315
- v.index(3).fields(
+ v.index(4).fields(
316
Fields::unnamed().field(|f| f.ty::<bool>().type_name("bool")),
317
)
318
})
@@ -338,7 +338,7 @@ fn basic_enum_with_index() {
338
339
340
341
- v.index(3)
+ v.index(4)
342
.fields(Fields::unnamed().field(|f| f.ty::<bool>().type_name("bool")))
343
344
.variant("B", |v| {
0 commit comments