Skip to content

Commit 6a6a5ad

Browse files
authored
fix typo in extension CustomNSError
1 parent 04b3333 commit 6a6a5ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Foundation/NSError.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,7 @@ public extension CustomNSError {
291291
}
292292
}
293293

294-
extension
295-
where Self: RawRepresentable, Self.RawValue: SignedInteger {
294+
extension CustomNSError where Self: RawRepresentable, Self.RawValue: SignedInteger {
296295
// The error code of Error with integral raw values is the raw value.
297296
public var errorCode: Int {
298297
return numericCast(self.rawValue)

0 commit comments

Comments
 (0)