We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f192b74 commit c65235bCopy full SHA for c65235b
core/src/convert/mod.rs
@@ -300,7 +300,8 @@ pub trait Into<T>: Sized {
300
/// that encapsulate multiple error types. See the "Examples" section and [the book][book] for more
301
/// details.
302
///
303
-/// **Note: This trait must not fail**. If the conversion can fail, use [`TryFrom`].
+/// **Note: This trait must not fail**. The `From` trait is intended for perfect conversions.
304
+/// If the conversion can fail or is not perfect, use [`TryFrom`].
305
306
/// # Generic Implementations
307
0 commit comments