mirror of
https://github.com/apple/swift-collections
synced 2026-11-26 04:47:48 +00:00
[doc] Fix most issues reported by docc
DocC keeps changing its link syntax. The latest iteration appears to have trouble dealing with `Self`-taking or `Self`-returning methods, so change our API to replace `Self` with a direct mention of the concrete type. ¯\\\_(ツ)\_/¯ That said, the new compiler also found a large number of mismatching parameter names, and that was really helpful.
This commit is contained in:
67 files changed
+187
-277
No files matched your search
@@ -21,8 +21,8 @@ extension BitArray: Equatable {
|
||||
/// Equality is the inverse of inequality. For any values `a` and `b`,
|
||||
/// `a == b` implies that `a != b` is `false`.
|
||||
///
|
||||
/// - Parameter lhs: A value to compare.
|
||||
/// - Parameter rhs: Another value to compare.
|
||||
/// - Parameter left: A value to compare.
|
||||
/// - Parameter right: Another value to compare.
|
||||
/// - Complexity: O(left.count)
|
||||
public static func ==(left: Self, right: Self) -> Bool {
|
||||
guard left._count == right._count else { return false }
|
||||
|
||||
Reference in new issue
Block a user