File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1147,6 +1147,6 @@ extension String {
11471147 /// - Complexity: O(1)
11481148 @available ( StdlibDeploymentTarget 6 . 4 , * )
11491149 public func isTriviallyIdentical( to other: Self ) -> Bool {
1150- self . _guts. rawBits == other. _guts. rawBits
1150+ self . _guts. isTriviallyIdentical ( to : other. _guts)
11511151 }
11521152}
Original file line number Diff line number Diff line change @@ -1457,7 +1457,7 @@ extension Substring {
14571457 /// - Complexity: O(1)
14581458 @available ( StdlibDeploymentTarget 6 . 4 , * )
14591459 public func isTriviallyIdentical( to other: Self ) -> Bool {
1460- self . _wholeGuts. rawBits == other. _wholeGuts. rawBits &&
1460+ self . _wholeGuts. isTriviallyIdentical ( to : other. _wholeGuts) &&
14611461 self . _offsetRange == other. _offsetRange
14621462 }
14631463}
You can’t perform that action at this time.
0 commit comments