mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
[BitArray] Add docs.
This commit is contained in:
1 parent
fcac09d86a
commit
5bc22eaf9b
9 files changed
+348
-12
No files matched your search
@@ -10,6 +10,11 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
extension BitArray: Hashable {
|
||||
/// Hashes the essential components of this value by feeding them into the
|
||||
/// given hasher.
|
||||
///
|
||||
/// - Parameter hasher: The hasher to use when combining the components
|
||||
/// of this instance.
|
||||
public func hash(into hasher: inout Hasher) {
|
||||
hasher.combine(_count)
|
||||
for word in _storage {
|
||||
|
||||
Reference in new issue
Block a user