mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Make isIdentical opaque for clients
This commit is contained in:
committed by
Rick van Voorden
parent
5b22d2a467
commit
14e37a15ec
@@ -533,7 +533,7 @@ extension String.UnicodeScalarView {
|
||||
/// is trivially identical to `other`.
|
||||
///
|
||||
/// - Complexity: O(1)
|
||||
@_alwaysEmitIntoClient
|
||||
@available(SwiftStdlib 6.3, *)
|
||||
public func isTriviallyIdentical(to other: Self) -> Bool {
|
||||
self._guts.rawBits == other._guts.rawBits
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user