Skip to content

Commit

Permalink
chore: update tests snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentberthier committed Jan 30, 2025
1 parent 2300ce7 commit 78a69a6
Show file tree
Hide file tree
Showing 90 changed files with 103 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl borsh::de::BorshDeserialize for X {
fn deserialize_reader<__R: borsh::io::Read>(
reader: &mut __R,
Expand All @@ -10,6 +11,7 @@ impl borsh::de::BorshDeserialize for X {
<Self as borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl borsh::de::EnumExt for X {
fn deserialize_variant<__R: borsh::io::Read>(
reader: &mut __R,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl borsh::de::BorshDeserialize for X {
fn deserialize_reader<__R: borsh::io::Read>(
reader: &mut __R,
Expand All @@ -10,6 +11,7 @@ impl borsh::de::BorshDeserialize for X {
<Self as borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl borsh::de::EnumExt for X {
fn deserialize_variant<__R: borsh::io::Read>(
reader: &mut __R,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl borsh::de::BorshDeserialize for A {
fn deserialize_reader<__R: borsh::io::Read>(
reader: &mut __R,
Expand All @@ -10,6 +11,7 @@ impl borsh::de::BorshDeserialize for A {
<Self as borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl borsh::de::EnumExt for A {
fn deserialize_variant<__R: borsh::io::Read>(
reader: &mut __R,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl borsh::de::BorshDeserialize for AA {
fn deserialize_reader<__R: borsh::io::Read>(
reader: &mut __R,
Expand All @@ -10,6 +11,7 @@ impl borsh::de::BorshDeserialize for AA {
<Self as borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl borsh::de::EnumExt for AA {
fn deserialize_variant<__R: borsh::io::Read>(
reader: &mut __R,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl borsh::de::BorshDeserialize for AAT {
fn deserialize_reader<__R: borsh::io::Read>(
reader: &mut __R,
Expand All @@ -10,6 +11,7 @@ impl borsh::de::BorshDeserialize for AAT {
<Self as borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl borsh::de::EnumExt for AAT {
fn deserialize_variant<__R: borsh::io::Read>(
reader: &mut __R,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K: Key, V, U> borsh::de::BorshDeserialize for A<K, V, U>
where
V: Value,
Expand All @@ -16,6 +17,7 @@ where
<Self as borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl<K: Key, V, U> borsh::de::EnumExt for A<K, V, U>
where
V: Value,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K: Ord, V> borsh::de::BorshDeserialize for C<K, V>
where
K: borsh::de::BorshDeserialize,
Expand All @@ -14,6 +15,7 @@ where
<Self as borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl<K: Ord, V> borsh::de::EnumExt for C<K, V>
where
K: borsh::de::BorshDeserialize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K: Key, V, U> borsh::de::BorshDeserialize for A<K, V, U>
where
V: Value,
Expand All @@ -17,6 +18,7 @@ where
<Self as borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl<K: Key, V, U> borsh::de::EnumExt for A<K, V, U>
where
V: Value,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K: Key, V, U> borsh::de::BorshDeserialize for A<K, V, U>
where
V: Value,
Expand All @@ -16,6 +17,7 @@ where
<Self as borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl<K: Key, V, U> borsh::de::EnumExt for A<K, V, U>
where
V: Value,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<T: Debug, U> borsh::de::BorshDeserialize for A<T, U>
where
T: PartialOrd + Hash + Eq + borsh::de::BorshDeserialize,
Expand All @@ -14,6 +15,7 @@ where
<Self as borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl<T: Debug, U> borsh::de::EnumExt for A<T, U>
where
T: PartialOrd + Hash + Eq + borsh::de::BorshDeserialize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K: Key, V> borsh::de::BorshDeserialize for A<K, V>
where
V: Value,
Expand All @@ -15,6 +16,7 @@ where
<Self as borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl<K: Key, V> borsh::de::EnumExt for A<K, V>
where
V: Value,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl reexporter::borsh::de::BorshDeserialize for A {
fn deserialize_reader<__R: reexporter::borsh::io::Read>(
reader: &mut __R,
Expand All @@ -12,6 +13,7 @@ impl reexporter::borsh::de::BorshDeserialize for A {
<Self as reexporter::borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl reexporter::borsh::de::EnumExt for A {
fn deserialize_variant<__R: reexporter::borsh::io::Read>(
reader: &mut __R,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K, V, U> borsh::de::BorshDeserialize for A<K, V, U>
where
K: borsh::de::BorshDeserialize,
Expand All @@ -15,6 +16,7 @@ where
<Self as borsh::de::EnumExt>::deserialize_variant(reader, tag)
}
}
#[automatically_derived]
impl<K, V, U> borsh::de::EnumExt for A<K, V, U>
where
K: borsh::de::BorshDeserialize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl borsh::de::BorshDeserialize for A {
fn deserialize_reader<__R: borsh::io::Read>(
reader: &mut __R,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K: Key, V> borsh::de::BorshDeserialize for A<K, V>
where
V: Value,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K: Ord, V> borsh::de::BorshDeserialize for A<K, V>
where
K: borsh::de::BorshDeserialize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<T: Debug, U> borsh::de::BorshDeserialize for C<T, U>
where
T: PartialOrd + Hash + Eq + borsh::de::BorshDeserialize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K, V, U> borsh::de::BorshDeserialize for G<K, V, U>
where
U: borsh::de::BorshDeserialize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K, V, U> borsh::de::BorshDeserialize for G<K, V, U>
where
U: borsh::de::BorshDeserialize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K, V, U> borsh::de::BorshDeserialize for G<K, V, U>
where
K: borsh::de::BorshDeserialize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K, V, U> borsh::de::BorshDeserialize for G1<K, V, U>
where
U: borsh::de::BorshDeserialize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl borsh::de::BorshDeserialize for CRecC {
fn deserialize_reader<__R: borsh::io::Read>(
reader: &mut __R,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<T> borsh::de::BorshDeserialize for TupleA<T>
where
T: borsh::de::BorshDeserialize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<K, V> borsh::de::BorshDeserialize for A<K, V>
where
K: borsh::de::BorshDeserialize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl borsh::de::BorshDeserialize for A {
fn deserialize_reader<__R: borsh::io::Read>(
reader: &mut __R,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/deserialize/structs/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl reexporter::borsh::de::BorshDeserialize for A {
fn deserialize_reader<__R: reexporter::borsh::io::Read>(
reader: &mut __R,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/schema/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl borsh::BorshSchema for X {
fn declaration() -> borsh::schema::Declaration {
"X".to_string()
Expand Down Expand Up @@ -62,4 +63,3 @@ impl borsh::BorshSchema for X {
);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/schema/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl borsh::BorshSchema for X {
fn declaration() -> borsh::schema::Declaration {
"X".to_string()
Expand Down Expand Up @@ -62,4 +63,3 @@ impl borsh::BorshSchema for X {
);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/schema/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl borsh::BorshSchema for A {
fn declaration() -> borsh::schema::Declaration {
"A".to_string()
Expand Down Expand Up @@ -53,4 +54,3 @@ impl borsh::BorshSchema for A {
);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/schema/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<C, W> borsh::BorshSchema for A<C, W>
where
C: borsh::BorshSchema,
Expand Down Expand Up @@ -61,4 +62,3 @@ where
);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/schema/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<W, U, C> borsh::BorshSchema for A<W, U, C>
where
U: borsh::BorshSchema,
Expand Down Expand Up @@ -63,4 +64,3 @@ where
);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: borsh-derive/src/internals/schema/enums/mod.rs
expression: pretty_print_syn_str(&actual).unwrap()
---
#[automatically_derived]
impl<C: Eq, W> borsh::BorshSchema for A<C, W>
where
W: Hash,
Expand Down Expand Up @@ -63,4 +64,3 @@ where
);
}
}

Loading

0 comments on commit 78a69a6

Please sign in to comment.