Skip to content

Un-deprecate contiguous ASCII #74

@parkera

Description

@parkera

The swift stdlib deprecated _isContiguousASCII, but Foundation depends on it for String extensions.

Is there a better entry point to use, or should we remove the deprecation from stdlib?

/swift-foundation/Sources/FoundationEssentials/String/String+Essentials.swift:109:70: warning: '_isContiguousASCII' is deprecated
            if encoding == .utf8 || (encoding == .ascii && str._guts._isContiguousASCII) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions