Skip to content

Commit f89472e

Browse files
authored
Merge pull request #79410 from amartini51/error_kind_41136833
Remove redundant word "error" from type name Fixes: rdar://41136833
2 parents 859ef15 + 3c21c62 commit f89472e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/ErrorType.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ import SwiftShims
8181
/// including the line and column numbers where the error occurred:
8282
///
8383
/// struct XMLParsingError: Error {
84-
/// enum ErrorKind {
84+
/// enum Kind {
8585
/// case invalidCharacter
8686
/// case mismatchedTag
8787
/// case internalError
8888
/// }
8989
///
9090
/// let line: Int
9191
/// let column: Int
92-
/// let kind: ErrorKind
92+
/// let kind: Kind
9393
/// }
9494
///
9595
/// func parse(_ source: String) throws -> XMLDoc {

0 commit comments

Comments
 (0)