mirror of
https://github.com/apple/swift-collections
synced 2026-11-26 04:47:48 +00:00
[Internals] Add missing internal checking predicates & docs for all
This commit is contained in:
1 parent
5b5651957b
commit
f76630db8e
8 files changed
+72
No files matched your search
@@ -15,6 +15,12 @@ import _CollectionsUtilities
|
||||
// testing.
|
||||
|
||||
extension Deque {
|
||||
/// True if consistency checking is enabled in the implementation of this
|
||||
/// type, false otherwise.
|
||||
///
|
||||
/// Documented performance promises are null and void when this property
|
||||
/// returns true -- for example, operations that are documented to take
|
||||
/// O(1) time might take O(*n*) time, or worse.
|
||||
public static var _isConsistencyCheckingEnabled: Bool {
|
||||
_isCollectionsInternalCheckingEnabled
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user