[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,7 +21,7 @@
### Accessing Elements
- ``subscript(position:)`
- ``subscript(_:)``
- ``first``
- ``last``
@@ -43,7 +43,7 @@
- ``remove(at:)``
- ``removeAll(keepingCapacity:)``
- ``removeAll(where:)``
- ``removeAll(where:)-4izxo``
- ``removeSubrange(_:)``
- ``removeLast()``
- ``removeLast(_:)``