Remove _random cp
diff --git a/stdlib/public/core/Integers.swift.gyb b/stdlib/public/core/Integers.swift.gyb
index c1203ff..9562cd7 100644
--- a/stdlib/public/core/Integers.swift.gyb
+++ b/stdlib/public/core/Integers.swift.gyb
@@ -2421,10 +2421,6 @@
${assignmentOperatorComment(x.operator, False)}
static func ${x.operator}=(_ lhs: inout Self, _ rhs: Self)
% end
-
- static func _random<R: RandomNumberGenerator>(
- using generator: inout R
- ) -> Self
}
extension FixedWidthInteger {
@@ -3025,6 +3021,7 @@
}
extension FixedWidthInteger {
+ @inlinable
public static func _random<R: RandomNumberGenerator>(
using generator: inout R
) -> Self {
@@ -4045,17 +4042,6 @@
}
% end
-extension ${Self} {
- @inlinable
- public static func _random<R: RandomNumberGenerator>(
- using generator: inout R
- ) -> ${Self} {
- var result: ${Self} = 0
- withUnsafeMutableBytes(of: &result) { generator._fill(bytes: $0) }
- return result
- }
-}
-
//===--- end of FIXME(integers) -------------------------------------------===//
% end # end of concrete FixedWidthInteger section