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 {
@@ -3025,6 +3021,7 @@ ${assignmentOperatorComment('&' + x.operator, True)}
3025
3021
}
3026
3022
3027
3023
extension FixedWidthInteger {
3024
+ @inlinable
3028
3025
public static func _random< R : RandomNumberGenerator > (
3029
3026
using generator: inout R
3030
3027
) - > Self {
@@ -4045,17 +4042,6 @@ public func _assumeNonNegative(_ x: ${Self}) -> ${Self} {
4045
4042
}
4046
4043
% end
4047
4044
4048
- extension ${ Self} {
4049
- @inlinable
4050
- public static func _random< R : RandomNumberGenerator > (
4051
- using generator: inout R
4052
- ) - > ${ Self} {
4053
- var result : ${ Self} = 0
4054
- withUnsafeMutableBytes ( of: & result) { generator. _fill ( bytes: $0) }
4055
- return result
4056
- }
4057
- }
4058
-
4059
4045
//===--- end of FIXME(integers) -------------------------------------------===//
4060
4046
4061
4047
% end # end of concrete FixedWidthInteger section
You can’t perform that action at this time.
0 commit comments