Skip to content

Commit c394d70

Browse files
author
Daniel Dahan
committed
update warning for cast
1 parent 7a2f5c6 commit c394d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Algorithm+Set.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extension Set: Probable {
4747
var c = 0
4848
for e in elements {
4949
for x in self {
50-
if e == x as? Element {
50+
if e == x {
5151
c += 1
5252
}
5353
}

0 commit comments

Comments
 (0)