We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6293af0 commit 629195cCopy full SHA for 629195c
Sources/CornucopiaCore/Extensions/String/String+IPv4.swift
@@ -6,7 +6,7 @@ import Foundation
6
public extension String {
7
8
/// A simplified check if this and another string are in the same IPv4 subnet.
9
- func CC_isInSameIPv4SubnetAs(other: String) -> Bool {
+ func CC_isInSameIPv4SubnetAs(_ other: String) -> Bool {
10
11
if self.hasPrefix("169.254.") && other.hasPrefix("169.254.") {
12
// Link-local uses /16
0 commit comments