Error in Swift documentation

Hello everyone,

I believe I've found an error in the official Swift Standard Library documentation for the MutableCollection.moveSubranges(_:to:) method. Insertion point 10 should be between “j” and “k”, not “i” and “j” as it currently stated.

Thanks for the report.

I have verified it and proposed a PR to fix it. See Fix moveSubranges documentation issue by Kyle-Ye · Pull Request #84563 · swiftlang/swift · GitHub.

3 Likes