mirror of
https://github.com/serde-rs/serde.git
synced 2025-10-02 15:25:38 +00:00
Make the TupleVisitors public
This change is needed to use the TupleVisitor to implement a VariantVisitor
This commit is contained in:
parent
60ab494226
commit
2a40c5dd24
@ -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,)+)>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user