Fixed Result type parameters in doc comment.
This commit is contained in:
parent
36d7d746c8
commit
a4b1361a01
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
//! Error handling with the `Result` type
|
||||
//!
|
||||
//! `Result<T>` is the type used for returning and propagating
|
||||
//! `Result<T, E>` is the type used for returning and propagating
|
||||
//! errors. It is an enum with the variants, `Ok(T)`, representing
|
||||
//! success and containing a value, and `Err(E)`, representing error
|
||||
//! and containing an error value.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue