File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 77//! - Implement the [`AsMut`] trait for cheap mutable-to-mutable conversions
88//! - Implement the [`From`] trait for consuming value-to-value conversions
99//! - Implement the [`Into`] trait for consuming value-to-value conversions to types
10- //! outside the current crate
10+ //! outside the current crate
1111//! - The [`TryFrom`] and [`TryInto`] traits behave like [`From`] and [`Into`],
12- //! but should be implemented when
13- //! the conversion can fail.
12+ //! but should be implemented when the conversion can fail.
1413//!
1514//! The traits in this module are often used as trait bounds for generic functions such that to
1615//! arguments of multiple types are supported. See the documentation of each trait for examples.
@@ -243,7 +242,6 @@ pub trait AsMut<T: ?Sized> {
243242/// Prefer using ```Into``` over ```From``` when specifying trait bounds on a generic function
244243/// to ensure that types that only implement ```Into``` can be used as well.
245244///
246- ///
247245/// # Examples
248246///
249247/// [`String`] implements `Into<Vec<u8>>`:
You can’t perform that action at this time.
0 commit comments