Skip to content

Commit 988e1a7

Browse files
committed
Update Status.swift
1 parent f3becbc commit 988e1a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/async-http-client/validate/type/Status.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public extension Http.Validate{
3535
// MARK: - Life circle
3636

3737
/// A type that can be initialized with an integer literal.
38+
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
3839
extension Http.Validate.Status: ExpressibleByIntegerLiteral {
3940
/// Creates an instance initialized to the specified integer value.
4041
public init(integerLiteral value: Int) {
@@ -69,7 +70,7 @@ public extension Http.Validate.Status{
6970
}
7071
}
7172

72-
// MARK: - Public
73+
// MARK: - Public functional
7374

7475
/// Validate status
7576
/// - Parameters:

0 commit comments

Comments
 (0)