mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 19:31:02 +00:00
Make the TupleVisitors public
This change is needed to use the TupleVisitor to implement a VariantVisitor
This commit is contained in:
@@ -567,7 +567,7 @@ macro_rules! tuple_impls {
|
|||||||
() => {};
|
() => {};
|
||||||
($($visitor:ident => ($($name:ident),+),)+) => {
|
($($visitor:ident => ($($name:ident),+),)+) => {
|
||||||
$(
|
$(
|
||||||
struct $visitor<$($name,)+> {
|
pub struct $visitor<$($name,)+> {
|
||||||
marker: PhantomData<($($name,)+)>,
|
marker: PhantomData<($($name,)+)>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user