[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:
Karoy Lorentey committed 2026-03-09 14:14:51 -07:00
1 parent c29d1e9c4e
commit 80878519f2
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 }