mirror of
https://github.com/apple/swift.git
synced 2026-10-08 12:50:50 +02:00
Generalizes `String`: - `init(unsafeUninitializedCapacity:initializingUTF8With:)` - `withCString(_:)` - `withCString(encodedAs:_:)` - `withUTF8(_:)` - `_withNFCCodeUnits(_:)` and `Substring`: - `withCString(_:)` - `withCString(encodedAs:_:)` - `withUTF8(_:)` for typed throws.