Skip to content

Commit b14dc5b

Browse files
committed
Auto merge of #29657 - defuz:patch-2, r=steveklabnik
r? @steveklabnik
2 parents 2143a9f + 1ebdb73 commit b14dc5b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

AUTHORS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ David Szotten <[email protected]>
314314
David Vazgenovich Shakaryan <[email protected]>
315315
David Voit <[email protected]>
316316
Davis Silverman <[email protected]>
317-
318317
Denis Defreyne <[email protected]>
319318
DenisKolodin <[email protected]>
320319
@@ -502,6 +501,7 @@ Isaac Aggrey <[email protected]>
502501
Isaac Dupree <[email protected]>
503502
504503
Ivan Enderlin <[email protected]>
504+
Ivan Ivaschenko <[email protected]>
505505
Ivan Jager <[email protected]>
506506
Ivan Petkov <[email protected]>
507507
Ivan Radanov Ivanov <[email protected]>

src/doc/trpl/error-handling.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,11 +1137,7 @@ impl error::Error for CliError {
11371137
// implementations.
11381138
match *self {
11391139
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),
1140+
CliError::Parse(ref err) => err.description(),
11451141
}
11461142
}
11471143

0 commit comments

Comments
 (0)