Skip to content

Commit 7f16910

Browse files
authored
[docs] Drop a word based on reviewer feedback
1 parent 680682f commit 7f16910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

userdocs/diagnostics/protocol-type-non-conformance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ When used as a type, the Swift protocol `Error` conforms to itself; `@objc` prot
6060

6161
Concrete types that _do_ conform to protocols can provide functionality similar to that of existential types. For example, the standard library provides the `AnyHashable` type for `Hashable` values. Manual implementation of such __type erasure__ can require specific knowledge of the semantic requirements for each protocol involved and is beyond the scope of this discussion.
6262

63-
In certain scenarios, you might avoid any need for manual type erasure by reworking generic APIs themselves to use existential types instead:
63+
In certain scenarios, you might avoid any need for manual type erasure by reworking generic APIs to use existential types instead:
6464

6565
```swift
6666
func declareAnimalSpeciesDynamically(_ animal: Animal) {

0 commit comments

Comments
 (0)