mirror of
https://github.com/apple/swift-collections
synced 2026-11-24 04:27:53 +00:00
Same species as #701, in the module behind the UnstableSortedCollections trait. 16 doc comments name an argument the declaration does not have, and one block documents a function that is no longer there. The Keys and Values views carry the same four each: - Parameter i where the argument is index, and - Parameter index on subscript(position:). In the B-tree internals the descriptions usually name the right thing while the key does not: - node on toNode(leftChild:) says the argument becomes the left child, and - newElement on exchangeChild(atSlot:with newChild:) says it is the new child. _BTree.swift keeps a doc block for a function that was removed: it documents an offset parameter and sits above an unrelated declaration.