mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-07-24 12:25:47 +00:00
Expose TupleVisitor*::new
This commit is contained in:
@@ -574,7 +574,7 @@ macro_rules! tuple_impls {
|
|||||||
impl<
|
impl<
|
||||||
$($name: Deserialize,)+
|
$($name: Deserialize,)+
|
||||||
> $visitor<$($name,)+> {
|
> $visitor<$($name,)+> {
|
||||||
fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
$visitor { marker: PhantomData }
|
$visitor { marker: PhantomData }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user