mirror of
https://github.com/apple/swift-collections
synced 2026-11-27 04:54:21 +00:00
[PersistentDictionary] Add CustomReflectable conformance
This commit is contained in:
1 parent
3d10964905
commit
1c6e5cb30c
1 file changed
+16
+16
@@ -0,0 +1,16 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This source file is part of the Swift Collections open source project
|
||||
//
|
||||
// Copyright (c) 2022 Apple Inc. and the Swift project authors
|
||||
// Licensed under Apache License v2.0 with Runtime Library Exception
|
||||
//
|
||||
// See https://swift.org/LICENSE.txt for license information
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
extension PersistentDictionary: CustomReflectable {
|
||||
public var customMirror: Mirror {
|
||||
Mirror(self, unlabeledChildren: self, displayStyle: .dictionary)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user