Fixed indentation of list items.
This commit is contained in:
parent
49a9b349ac
commit
d657d18083
1 changed files with 2 additions and 4 deletions
|
|
@ -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>>`:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue