We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6878fce commit d071bd0Copy full SHA for d071bd0
src/doc/trpl/error-handling.md
@@ -1137,11 +1137,7 @@ impl error::Error for CliError {
1137
// implementations.
1138
match *self {
1139
CliError::Io(ref err) => err.description(),
1140
- // Normally we can just write `err.description()`, but the error
1141
- // type has a concrete method called `description`, which conflicts
1142
- // with the trait method. For now, we must explicitly call
1143
- // `description` through the `Error` trait.
1144
- CliError::Parse(ref err) => error::Error::description(err),
+ CliError::Parse(ref err) => err.description(err),
1145
}
1146
1147
0 commit comments