File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -126,21 +126,21 @@ public protocol AdditiveArithmetic: Equatable {
126
126
static func -= ( lhs: inout Self , rhs: Self )
127
127
}
128
128
129
- public extension AdditiveArithmetic {
129
+ extension AdditiveArithmetic {
130
130
@_alwaysEmitIntoClient
131
- static func += ( lhs: inout Self , rhs: Self ) {
131
+ public static func += ( lhs: inout Self , rhs: Self ) {
132
132
lhs = lhs + rhs
133
133
}
134
134
135
135
@_alwaysEmitIntoClient
136
- static func -= ( lhs: inout Self , rhs: Self ) {
136
+ public static func -= ( lhs: inout Self , rhs: Self ) {
137
137
lhs = lhs - rhs
138
138
}
139
139
}
140
140
141
- public extension AdditiveArithmetic where Self: ExpressibleByIntegerLiteral {
141
+ extension AdditiveArithmetic where Self: ExpressibleByIntegerLiteral {
142
142
@inlinable @inline ( __always)
143
- static var zero : Self {
143
+ public static var zero : Self {
144
144
return 0
145
145
}
146
146
}
You can’t perform that action at this time.
0 commit comments