@@ -1217,91 +1217,91 @@ public protocol UnkeyedEncodingContainer {
1217
1217
///
1218
1218
/// - parameter sequence: The sequences whose contents to encode.
1219
1219
/// - throws: An error if any of the contained values throws an error.
1220
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Bool
1220
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Bool
1221
1221
1222
1222
/// Encodes the elements of the given sequence.
1223
1223
///
1224
1224
/// - parameter sequence: The sequences whose contents to encode.
1225
1225
/// - throws: An error if any of the contained values throws an error.
1226
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Int
1226
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Int
1227
1227
1228
1228
/// Encodes the elements of the given sequence.
1229
1229
///
1230
1230
/// - parameter sequence: The sequences whose contents to encode.
1231
1231
/// - throws: An error if any of the contained values throws an error.
1232
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Int8
1232
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Int8
1233
1233
1234
1234
/// Encodes the elements of the given sequence.
1235
1235
///
1236
1236
/// - parameter sequence: The sequences whose contents to encode.
1237
1237
/// - throws: An error if any of the contained values throws an error.
1238
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Int16
1238
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Int16
1239
1239
1240
1240
/// Encodes the elements of the given sequence.
1241
1241
///
1242
1242
/// - parameter sequence: The sequences whose contents to encode.
1243
1243
/// - throws: An error if any of the contained values throws an error.
1244
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Int32
1244
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Int32
1245
1245
1246
1246
/// Encodes the elements of the given sequence.
1247
1247
///
1248
1248
/// - parameter sequence: The sequences whose contents to encode.
1249
1249
/// - throws: An error if any of the contained values throws an error.
1250
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Int64
1250
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Int64
1251
1251
1252
1252
/// Encodes the elements of the given sequence.
1253
1253
///
1254
1254
/// - parameter sequence: The sequences whose contents to encode.
1255
1255
/// - throws: An error if any of the contained values throws an error.
1256
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == UInt
1256
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == UInt
1257
1257
1258
1258
/// Encodes the elements of the given sequence.
1259
1259
///
1260
1260
/// - parameter sequence: The sequences whose contents to encode.
1261
1261
/// - throws: An error if any of the contained values throws an error.
1262
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == UInt8
1262
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == UInt8
1263
1263
1264
1264
/// Encodes the elements of the given sequence.
1265
1265
///
1266
1266
/// - parameter sequence: The sequences whose contents to encode.
1267
1267
/// - throws: An error if any of the contained values throws an error.
1268
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == UInt16
1268
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == UInt16
1269
1269
1270
1270
/// Encodes the elements of the given sequence.
1271
1271
///
1272
1272
/// - parameter sequence: The sequences whose contents to encode.
1273
1273
/// - throws: An error if any of the contained values throws an error.
1274
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == UInt32
1274
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == UInt32
1275
1275
1276
1276
/// Encodes the elements of the given sequence.
1277
1277
///
1278
1278
/// - parameter sequence: The sequences whose contents to encode.
1279
1279
/// - throws: An error if any of the contained values throws an error.
1280
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == UInt64
1280
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == UInt64
1281
1281
1282
1282
/// Encodes the elements of the given sequence.
1283
1283
///
1284
1284
/// - parameter sequence: The sequences whose contents to encode.
1285
1285
/// - throws: An error if any of the contained values throws an error.
1286
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Float
1286
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Float
1287
1287
1288
1288
/// Encodes the elements of the given sequence.
1289
1289
///
1290
1290
/// - parameter sequence: The sequences whose contents to encode.
1291
1291
/// - throws: An error if any of the contained values throws an error.
1292
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Double
1292
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Double
1293
1293
1294
1294
/// Encodes the elements of the given sequence.
1295
1295
///
1296
1296
/// - parameter sequence: The sequences whose contents to encode.
1297
1297
/// - throws: An error if any of the contained values throws an error.
1298
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == String
1298
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == String
1299
1299
1300
1300
/// Encodes the elements of the given sequence.
1301
1301
///
1302
1302
/// - parameter sequence: The sequences whose contents to encode.
1303
1303
/// - throws: An error if any of the contained values throws an error.
1304
- mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element : Encodable
1304
+ mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element : Encodable
1305
1305
1306
1306
/// Encodes a nested container keyed by the given type and returns it.
1307
1307
///
@@ -2895,91 +2895,91 @@ public extension UnkeyedEncodingContainer {
2895
2895
try encode ( object)
2896
2896
}
2897
2897
2898
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Bool {
2898
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Bool {
2899
2899
for element in sequence {
2900
2900
try encode ( element)
2901
2901
}
2902
2902
}
2903
2903
2904
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Int {
2904
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Int {
2905
2905
for element in sequence {
2906
2906
try encode ( element)
2907
2907
}
2908
2908
}
2909
2909
2910
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Int8 {
2910
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Int8 {
2911
2911
for element in sequence {
2912
2912
try encode ( element)
2913
2913
}
2914
2914
}
2915
2915
2916
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Int16 {
2916
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Int16 {
2917
2917
for element in sequence {
2918
2918
try encode ( element)
2919
2919
}
2920
2920
}
2921
2921
2922
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Int32 {
2922
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Int32 {
2923
2923
for element in sequence {
2924
2924
try encode ( element)
2925
2925
}
2926
2926
}
2927
2927
2928
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Int64 {
2928
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Int64 {
2929
2929
for element in sequence {
2930
2930
try encode ( element)
2931
2931
}
2932
2932
}
2933
2933
2934
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == UInt {
2934
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == UInt {
2935
2935
for element in sequence {
2936
2936
try encode ( element)
2937
2937
}
2938
2938
}
2939
2939
2940
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == UInt8 {
2940
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == UInt8 {
2941
2941
for element in sequence {
2942
2942
try encode ( element)
2943
2943
}
2944
2944
}
2945
2945
2946
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == UInt16 {
2946
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == UInt16 {
2947
2947
for element in sequence {
2948
2948
try encode ( element)
2949
2949
}
2950
2950
}
2951
2951
2952
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == UInt32 {
2952
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == UInt32 {
2953
2953
for element in sequence {
2954
2954
try encode ( element)
2955
2955
}
2956
2956
}
2957
2957
2958
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == UInt64 {
2958
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == UInt64 {
2959
2959
for element in sequence {
2960
2960
try encode ( element)
2961
2961
}
2962
2962
}
2963
2963
2964
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Float {
2964
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Float {
2965
2965
for element in sequence {
2966
2966
try encode ( element)
2967
2967
}
2968
2968
}
2969
2969
2970
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == Double {
2970
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == Double {
2971
2971
for element in sequence {
2972
2972
try encode ( element)
2973
2973
}
2974
2974
}
2975
2975
2976
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element == String {
2976
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element == String {
2977
2977
for element in sequence {
2978
2978
try encode ( element)
2979
2979
}
2980
2980
}
2981
2981
2982
- public mutating func encode< Sequence : Swift . Sequence > ( contentsOf sequence: Sequence ) throws where Sequence . Iterator. Element : Encodable {
2982
+ public mutating func encode< T : Sequence > ( contentsOf sequence: T ) throws where T . Iterator. Element : Encodable {
2983
2983
for element in sequence {
2984
2984
try encode ( element)
2985
2985
}
0 commit comments