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

+1-1
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy