Clean up indentation in VariantAccess doc
This commit is contained in:
parent
d1297deb36
commit
ed425b3a6f
@ -1936,9 +1936,11 @@ pub trait VariantAccess<'de>: Sized {
|
|||||||
/// # T: DeserializeSeed<'de>,
|
/// # T: DeserializeSeed<'de>,
|
||||||
/// # { unimplemented!() }
|
/// # { unimplemented!() }
|
||||||
/// #
|
/// #
|
||||||
/// fn tuple_variant<V>(self,
|
/// fn tuple_variant<V>(
|
||||||
/// _len: usize,
|
/// self,
|
||||||
/// _visitor: V) -> Result<V::Value, Self::Error>
|
/// _len: usize,
|
||||||
|
/// _visitor: V,
|
||||||
|
/// ) -> Result<V::Value, Self::Error>
|
||||||
/// where
|
/// where
|
||||||
/// V: Visitor<'de>,
|
/// V: Visitor<'de>,
|
||||||
/// {
|
/// {
|
||||||
@ -1986,9 +1988,11 @@ pub trait VariantAccess<'de>: Sized {
|
|||||||
/// # V: Visitor<'de>,
|
/// # V: Visitor<'de>,
|
||||||
/// # { unimplemented!() }
|
/// # { unimplemented!() }
|
||||||
/// #
|
/// #
|
||||||
/// fn struct_variant<V>(self,
|
/// fn struct_variant<V>(
|
||||||
/// _fields: &'static [&'static str],
|
/// self,
|
||||||
/// _visitor: V) -> Result<V::Value, Self::Error>
|
/// _fields: &'static [&'static str],
|
||||||
|
/// _visitor: V,
|
||||||
|
/// ) -> Result<V::Value, Self::Error>
|
||||||
/// where
|
/// where
|
||||||
/// V: Visitor<'de>,
|
/// V: Visitor<'de>,
|
||||||
/// {
|
/// {
|
||||||
|
Loading…
Reference in New Issue
Block a user