Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make IntegerBytesCollection conditionally Sendable #33

Merged
merged 1 commit into from
Jun 30, 2023
Merged

Conversation

dnadoba
Copy link
Member

@dnadoba dnadoba commented Jun 30, 2023

Otherwise we get Sendable warnings in swift-certifcates because we do not want to add a Sendable requirement on this init:

extension Certificate.SerialNumber {
    init(_ integer: some FixedWidthInteger) {
        self.bytes = ArraySlice(IntegerBytesCollection(integer))
    }
}

@dnadoba dnadoba added the 🆕 semver/minor Adds new public API. label Jun 30, 2023
@Lukasa Lukasa merged commit 0c33f18 into main Jun 30, 2023
@Lukasa Lukasa deleted the dn-relax-sendable branch June 30, 2023 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants