Skip to content

Commit fb35257

Browse files
author
Dave Abrahams
authored
[stdlib] Drop some @available(introduced:...)
These annotations make it hard to write code that works in both Swift 3 and Swift 4, so if they aren't needed we should remove them.
1 parent 3b53ef9 commit fb35257

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stdlib/public/core/Integers.swift.gyb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2181,7 +2181,6 @@ extension FixedWidthInteger {
21812181
//===----------------------------------------------------------------------===//
21822182

21832183
${operatorComment(x.nonMaskingOperator, True)}
2184-
@available(swift, introduced: 4)
21852184
@_transparent
21862185
public static func ${x.nonMaskingOperator} <
21872186
Other : BinaryInteger
@@ -2205,7 +2204,6 @@ ${operatorComment(x.nonMaskingOperator, True)}
22052204
}
22062205
#endif
22072206

2208-
@available(swift, introduced: 4)
22092207
@_transparent
22102208
public static func ${x.nonMaskingOperator}= <
22112209
Other : BinaryInteger

0 commit comments

Comments
 (0)