mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-19 05:21:01 +00:00
Clean up indentation in VariantAccess doc
This commit is contained in:
+10
-6
@@ -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>,
|
||||||
/// {
|
/// {
|
||||||
|
|||||||
Reference in New Issue
Block a user