File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -2181,19 +2181,20 @@ extension Array {
21812181 /// - `a == b` does not imply `a.isTriviallyIdentical(b)`
21822182 ///
21832183 /// Values produced by copying the same value, with no intervening mutations,
2184- /// will compare identical:
2184+ /// compare as identical:
21852185 ///
21862186 /// ```swift
21872187 /// let d = c
21882188 /// print(c.isTriviallyIdentical(to: d))
2189- /// // Prints true
2189+ /// // Prints true.
21902190 /// ```
21912191 ///
2192- /// Comparing arrays this way includes comparing (normally) hidden
2193- /// implementation details such as the memory location of any underlying
2194- /// array storage object. Therefore, identical arrays are guaranteed to
2195- /// compare equal with `==`, but not all equal arrays are considered
2196- /// identical.
2192+ /// Comparing arrays this way
2193+ /// includes comparing implementation details that are normally hidden,
2194+ /// such as the memory location of any underlying array storage,
2195+ /// These details aren't considered when comparing for equality with the `==` operator.
2196+ /// Therefore, identical arrays are guaranteed to compare equal,
2197+ /// but not all equal arrays are identical.
21972198 ///
21982199 /// - Complexity: O(1)
21992200 @_alwaysEmitIntoClient
You can’t perform that action at this time.
0 commit comments