diff --git a/serde/src/de/mod.rs b/serde/src/de/mod.rs index 61cc0a38..826662df 100644 --- a/serde/src/de/mod.rs +++ b/serde/src/de/mod.rs @@ -1936,9 +1936,11 @@ pub trait VariantAccess<'de>: Sized { /// # T: DeserializeSeed<'de>, /// # { unimplemented!() } /// # - /// fn tuple_variant(self, - /// _len: usize, - /// _visitor: V) -> Result + /// fn tuple_variant( + /// self, + /// _len: usize, + /// _visitor: V, + /// ) -> Result /// where /// V: Visitor<'de>, /// { @@ -1986,9 +1988,11 @@ pub trait VariantAccess<'de>: Sized { /// # V: Visitor<'de>, /// # { unimplemented!() } /// # - /// fn struct_variant(self, - /// _fields: &'static [&'static str], - /// _visitor: V) -> Result + /// fn struct_variant( + /// self, + /// _fields: &'static [&'static str], + /// _visitor: V, + /// ) -> Result /// where /// V: Visitor<'de>, /// {