[stdlib] update for 'inout' adjustment (SE-0031)

This commit is contained in:
Daniel Duan
2016-02-26 12:02:29 -08:00
parent c9927f66f0
commit 2bc78b8c09
134 changed files with 499 additions and 499 deletions

View File

@@ -75,7 +75,7 @@ public func &${op} <T : _IntegerArithmeticType>(lhs: T, rhs: T) -> T {
/// ${Action} `lhs` and `rhs` and stores ${result} in `lhs`, trapping in
/// case of arithmetic overflow (except in -Ounchecked builds).
@_transparent
public func ${op}= <T : _IntegerArithmeticType>(inout lhs: T, rhs: T) {
public func ${op}= <T : _IntegerArithmeticType>(lhs: inout T, rhs: T) {
lhs = lhs ${op} rhs
}
% end