We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddabe07 commit 9054fbbCopy full SHA for 9054fbb
library/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