Skip to content

Commit a7adfae

Browse files
committed
Update NNNN-type-self-omission.md
1 parent a66ec9d commit a7adfae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

NNNN-type-self-omission.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,14 @@ app.get("users", i, "posts", s) { request, userId, postName in
4848
...
4949
```
5050

51-
With `.self` required, more code is necessary that ultimately provides less clarity and concision. The current state of requiring `.self` in some places, and not requiring it in others is confusing to developers.
51+
With `.self` required, more code is necessary that ultimately provides less clarity and concision.
5252

5353
### Inconsistency
5454

55+
The current state of requiring `.self` in some places, and not requiring it in others is confusing to developers.
56+
5557
Here is a demonstration of the current inconsistency.
58+
5659
```swift
5760
func test<T: Any>(type: T.Type, two: String) {
5861
print(type)

0 commit comments

Comments
 (0)