Skip to content

Commit 3c21c62

Browse files
committed
Remove redundant 'error' from type name
1 parent d9b6a82 commit 3c21c62

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)