diff options
| author | Christian <chris_veenman@hotmail.com> | 2019-03-21 15:26:07 +0100 |
|---|---|---|
| committer | Christian <chris_veenman@hotmail.com> | 2019-03-21 15:26:07 +0100 |
| commit | d657d180835cee1e4b4ad4400d1f33f62ecd37b6 (patch) | |
| tree | 477d82bb62605919b3546634d9d88151766d68b2 | |
| parent | 49a9b349acda7bbf8d555cda4218351472534173 (diff) | |
| download | rust-d657d180835cee1e4b4ad4400d1f33f62ecd37b6.tar.gz rust-d657d180835cee1e4b4ad4400d1f33f62ecd37b6.zip | |
Fixed indentation of list items.
| -rw-r--r-- | src/libcore/convert.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index 30c3823e0b4..ec15a7f68fb 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<T: ?Sized> { /// 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<Vec<u8>>`: |
