We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e29821f commit 2eeb769Copy full SHA for 2eeb769
library/core/src/convert/mod.rs
@@ -495,8 +495,7 @@ pub trait Into<T>: Sized {
495
/// By converting underlying error types to our own custom error type that encapsulates the
496
/// underlying error type, we can return a single error type without losing information on the
497
/// underlying cause. The '?' operator automatically converts the underlying error type to our
498
-/// custom error type by calling `Into<CliError>::into` which is automatically provided when
499
-/// implementing `From`. The compiler then infers which implementation of `Into` should be used.
+/// custom error type with `From::from`.
500
///
501
/// ```
502
/// use std::fs;
0 commit comments