Clean up indentation in VariantAccess doc

This commit is contained in:
David Tolnay 2018-05-05 18:40:28 -07:00
parent d1297deb36
commit ed425b3a6f
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -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>,
/// { /// {