Skip to content

Commit 705674a

Browse files
authored
Merge pull request #3491 from apple/stdlib-internalize-_reinterpretCastToAnyObject
stdlib: mark _reinterpretCastToAnyObject() as internal
2 parents a7ee8ba + 9f5a545 commit 705674a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Builtin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public func unsafeBitCast<T, U>(_ x: T, to: U.Type) -> U {
124124

125125
/// `unsafeBitCast` something to `AnyObject`.
126126
@_transparent
127-
public func _reinterpretCastToAnyObject<T>(_ x: T) -> AnyObject {
127+
internal func _reinterpretCastToAnyObject<T>(_ x: T) -> AnyObject {
128128
return unsafeBitCast(x, to: AnyObject.self)
129129
}
130130

0 commit comments

Comments
 (0)