Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Commit dd2786c

Browse files
Fix typo in documentation comments. (#13)
1 parent 2f571cc commit dd2786c

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

Sources/SwiftSemantics/Declarations/Class.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public struct Class: Declaration, Hashable, Codable {
5555
the following declaration of class `C`
5656
has a single requirement
5757
that its generic parameter identified as `"T"`
58-
conforms to the type identified as `"Hahable"`:
58+
conforms to the type identified as `"Hashable"`:
5959

6060
```swift
6161
class C<T> where T: Hashable {}

Sources/SwiftSemantics/Declarations/Enumeration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public struct Enumeration: Declaration, Hashable, Codable {
5353
the following declaration of enumeration `E`
5454
has a single requirement
5555
that its generic parameter identified as `"T"`
56-
conforms to the type identified as `"Hahable"`:
56+
conforms to the type identified as `"Hashable"`:
5757

5858
```swift
5959
enum E<T> where T: Hashable {}

Sources/SwiftSemantics/Declarations/Extension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public struct Extension: Declaration, Hashable, Codable {
3737
the following conditional extension on structure S
3838
has a single requirement
3939
that its generic parameter identified as `"T"`
40-
conforms to the type identified as `"Hahable"`:
40+
conforms to the type identified as `"Hashable"`:
4141

4242
```swift
4343
struct S<T> {}

Sources/SwiftSemantics/Declarations/Function.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public struct Function: Declaration, Hashable, Codable {
3838
the following declaration of function `f`
3939
has a single requirement
4040
that its generic parameter identified as `"T"`
41-
conforms to the type identified as `"Hahable"`:
41+
conforms to the type identified as `"Hashable"`:
4242

4343
```swift
4444
func f<T>(value: T) where T: Hashable {}

Sources/SwiftSemantics/Declarations/Initializer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public struct Initializer: Declaration, Hashable, Codable {
4141
the following initializer declaration
4242
has a single requirement
4343
that its generic parameter identified as `"T"`
44-
conforms to the type identified as `"Hahable"`:
44+
conforms to the type identified as `"Hashable"`:
4545

4646
```swift
4747
init<T>(value: T) where T: Hashable {}

Sources/SwiftSemantics/Declarations/Structure.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public struct Structure: Declaration, Hashable, Codable {
5050
the following declaration of structure `S`
5151
has a single requirement
5252
that its generic parameter identified as `"T"`
53-
conforms to the type identified as `"Hahable"`:
53+
conforms to the type identified as `"Hashable"`:
5454

5555
```swift
5656
struct S<T> where T: Hashable {}

Sources/SwiftSemantics/Declarations/Subscript.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public struct Subscript: Declaration, Hashable, Codable {
3535
the following subscript declaration
3636
has a single requirement
3737
that its generic parameter identified as `"T"`
38-
conforms to the type identified as `"Hahable"`:
38+
conforms to the type identified as `"Hashable"`:
3939

4040
```swift
4141
subscript<T>(value: T) where T: Hashable {}

0 commit comments

Comments
 (0)