File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -2421,10 +2421,6 @@ ${operatorComment(x.operator, False)}
2421
2421
${ assignmentOperatorComment ( x. operator, False) }
2422
2422
static func ${ x. operator} = ( _ lhs: inout Self, _ rhs: Self)
2423
2423
% end
2424
-
2425
- static func _random< R: RandomNumberGenerator > (
2426
- using generator: inout R
2427
- ) -> Self
2428
2424
}
2429
2425
2430
2426
extension FixedWidthInteger {
@@ -2962,6 +2958,7 @@ ${assignmentOperatorComment('&' + x.operator, True)}
2962
2958
}
2963
2959
2964
2960
extension FixedWidthInteger {
2961
+ @inlinable
2965
2962
public static func _random< R : RandomNumberGenerator > (
2966
2963
using generator: inout R
2967
2964
) - > Self {
@@ -3972,17 +3969,6 @@ public func _assumeNonNegative(_ x: ${Self}) -> ${Self} {
3972
3969
}
3973
3970
% end
3974
3971
3975
- extension ${ Self} {
3976
- @inlinable
3977
- public static func _random< R : RandomNumberGenerator > (
3978
- using generator: inout R
3979
- ) - > ${ Self} {
3980
- var result : ${ Self} = 0
3981
- withUnsafeMutableBytes ( of: & result) { generator. _fill ( bytes: $0) }
3982
- return result
3983
- }
3984
- }
3985
-
3986
3972
//===--- end of FIXME(integers) -------------------------------------------===//
3987
3973
3988
3974
% end # end of concrete FixedWidthInteger section
You can’t perform that action at this time.
0 commit comments