We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb2b918 commit e463060Copy full SHA for e463060
library/core/src/convert/mod.rs
@@ -468,8 +468,8 @@ pub trait Into<T>: Sized {
468
///
469
/// The `From` trait is also very useful when performing error handling. When constructing a function
470
/// that is capable of failing, the return type will generally be of the form `Result<T, E>`.
471
-/// It simplifies error handling by allowing a function to return a single error type
472
-/// that encapsulate multiple error types. See the "Examples" section and [the book][book] for more
+/// `From` simplifies error handling by allowing a function to return a single error type
+/// that encapsulates multiple error types. See the "Examples" section and [the book][book] for more
473
/// details.
474
475
/// **Note: This trait must not fail**. The `From` trait is intended for perfect conversions.
0 commit comments