swift
610d07e9 - [stdlib] Fix doc comment refs to subranges(where:), now called indices(where:) (#78512)

Commit
1 year ago
[stdlib] Fix doc comment refs to subranges(where:), now called indices(where:) (#78512) Doc comments for DiscontiguousSlice, MutableCollection, RangeSet, and RangeReplaceableCollection all refer to a Collection method subranges(where:) which is intended to return a RangeSet of matching ranges. I believe this is likely an old or formerly-contemplated spelling of the method now known as indices(where:). This commit changes "subranges" to "indices".
Author
Parents
Loading