Skip to content

Commit 3316332

Browse files
committed
Replace @inlinable with @_transparent
1 parent c213489 commit 3316332

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/nnnn-binaryinteger-iseven-isodd-ismultiple.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ Add two computed properties, `isEven` and `isOdd`, and a function `isMultiple` t
104104
// Integers.swift.gyb
105105
// On protocol BinaryInteger
106106

107-
@inlinable
107+
@_transparent
108108
/// A Boolean value indicating whether this value is even.
109109
///
110110
/// An integer is even if it is a multiple of two.
111111
public var isEven: Bool {
112112
return isMultiple(of: 2)
113113
}
114114

115-
@inlinable
115+
@_transparent
116116
/// A Boolean value indicating whether this value is odd.
117117
///
118118
/// An integer is odd if it is not a multiple of two.

0 commit comments

Comments
 (0)