旧 s[where: { $0 % 2 == 0 }].update { (x: inout Int) in x += 100 } 新 s.where[{ $0 % 2 == 0 }].update { (x: inout Int) in x += 100 }