apple / swift-algorithms

Commonly used sequence and collection algorithms for Swift
Apache License 2.0
5.9k stars 435 forks source link

Remove `@_implementationOnly` annotations #225

Closed marcosgriselli closed 5 months ago

marcosgriselli commented 5 months ago

These annotations produce warnings when compiling without library evolution using Swift ≥5.10.

Replace them by private import when compiling using Swift ≥5.11.

Mirrors apple/swift-syntax#2429

Checklist

marcosgriselli commented 5 months ago

@natecook1000 sorry for the ping, can we add a reviewer for this?

LucianoPAlmeida commented 5 months ago

@swift-ci Please test

natecook1000 commented 5 months ago

Looks great, thanks @marcosgriselli!