Skip to content

Commit 73ddecc

Browse files
author
Enrico Granata
committed
Code review feedback; get is redundant
1 parent 43284f7 commit 73ddecc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stdlib/public/core/PrintForDebugger.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ public enum _PrintForDebugger {
2121
case ElementOfPair
2222

2323
var isCollection: Bool {
24-
get {
25-
return self != .NotACollection
26-
}
24+
return self != .NotACollection
2725
}
2826

2927
func getChildStatus(child: Mirror) -> CollectionStatus {

0 commit comments

Comments
 (0)