Tweak grammar
This commit is contained in:
parent
4cf30c0022
commit
f95e853222
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ impl Error {
|
||||||
/// // errors can also be created from other errors
|
/// // errors can also be created from other errors
|
||||||
/// let custom_error2 = Error::new(ErrorKind::Interrupted, custom_error);
|
/// let custom_error2 = Error::new(ErrorKind::Interrupted, custom_error);
|
||||||
///
|
///
|
||||||
/// // creating an error without payload (also without memory allocation)
|
/// // creating an error without payload (and without memory allocation)
|
||||||
/// let eof_error = Error::from(ErrorKind::UnexpectedEof);
|
/// let eof_error = Error::from(ErrorKind::UnexpectedEof);
|
||||||
/// ```
|
/// ```
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
|
|
Loading…
Add table
Reference in a new issue