diff options
| -rw-r--r-- | src/doc/trpl/error-handling.md | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/doc/trpl/error-handling.md b/src/doc/trpl/error-handling.md index c693cceeac4..9ee9cf6e1e4 100644 --- a/src/doc/trpl/error-handling.md +++ b/src/doc/trpl/error-handling.md @@ -1137,11 +1137,7 @@ impl error::Error for CliError { // implementations. match *self { CliError::Io(ref err) => err.description(), - // Normally we can just write `err.description()`, but the error - // type has a concrete method called `description`, which conflicts - // with the trait method. For now, we must explicitly call - // `description` through the `Error` trait. - CliError::Parse(ref err) => error::Error::description(err), + CliError::Parse(ref err) => err.description(err), } } |
