From d657d180835cee1e4b4ad4400d1f33f62ecd37b6 Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 21 Mar 2019 15:26:07 +0100 Subject: [PATCH] Fixed indentation of list items. --- src/libcore/convert.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index 30c3823e0b4b..ec15a7f68fb0 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -7,10 +7,9 @@ //! - Implement the [`AsMut`] trait for cheap mutable-to-mutable conversions //! - Implement the [`From`] trait for consuming value-to-value conversions //! - Implement the [`Into`] trait for consuming value-to-value conversions to types -//! outside the current crate +//! outside the current crate //! - The [`TryFrom`] and [`TryInto`] traits behave like [`From`] and [`Into`], -//! but should be implemented when -//! the conversion can fail. +//! but should be implemented when the conversion can fail. //! //! The traits in this module are often used as trait bounds for generic functions such that to //! arguments of multiple types are supported. See the documentation of each trait for examples. @@ -243,7 +242,6 @@ pub trait AsMut { /// Prefer using ```Into``` over ```From``` when specifying trait bounds on a generic function /// to ensure that types that only implement ```Into``` can be used as well. /// -/// /// # Examples /// /// [`String`] implements `Into>`: