Make isIdentical opaque for clients

This commit is contained in:
WindowsMEMZ
2025-10-30 09:49:24 +08:00
committed by Rick van Voorden
parent 5b22d2a467
commit 14e37a15ec
4 changed files with 6 additions and 6 deletions

View File

@@ -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
}