apple / swift-corelibs-foundation

The Foundation Project, providing core utilities, internationalization, and OS independence
swift.org
Apache License 2.0
5.23k stars 1.12k forks source link

Use Collections+DataProtocol and CocoaError extensions from swift-foundation #4956

Closed jmschonfeld closed 1 month ago

jmschonfeld commented 1 month ago

This is a small PR that removes a few things that FoundationEssentials already provides. FoundationEssentials has the entire Collections+DataProtocol.swift file, and it exports many of the CocoaError codes defined here (we leave some which are only present in SCF and not swift-foundation)