mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[inclusive-language] changed sanity to soundness
This commit is contained in:
@@ -767,7 +767,7 @@ internal struct _ContiguousArrayBuffer<Element>: _ArrayBufferProtocol {
|
||||
/// Returns `true` if this buffer's storage is uniquely-referenced;
|
||||
/// otherwise, returns `false`.
|
||||
///
|
||||
/// This function should only be used for internal sanity checks.
|
||||
/// This function should only be used for internal soundness checks.
|
||||
/// To guard a buffer mutation, use `beginCOWMutation`.
|
||||
@inlinable
|
||||
internal mutating func isUniquelyReferenced() -> Bool {
|
||||
|
||||
Reference in New Issue
Block a user