swift-algorithms
swift-algorithms copied to clipboard
Fix compile errors for Swift 6 language mode
This PR fixes code that caused compile errors when enabling the Swift 6 language mode.
Checklist
- [x] I've added at least one test that validates that my change is working, if appropriate
- [x] I've followed the code style of the rest of the project
- [x] I've read the Contribution Guidelines
- [x] I've updated the documentation if necessary
@swift-ci please test
@swift-ci Please test
@swift-ci Please test