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

Swap String(bytes:encoding:)! for String(decoding:as:) #1731

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

thomasvl
Copy link
Collaborator

Avoids the force unwraps that were needed before.

From the comment in #1730 (comment).

@thomasvl thomasvl marked this pull request as draft November 11, 2024 15:33
@thomasvl
Copy link
Collaborator Author

Will update once #1732 is merged, as that appears to be the problem.

Avoids the force unwraps that were needed before.

From the comment in apple#1730 (comment).
@thomasvl thomasvl marked this pull request as ready for review November 11, 2024 16:52
@thomasvl thomasvl requested a review from Lukasa November 11, 2024 16:52
@thomasvl
Copy link
Collaborator Author

@Lukasa I moved over all the calls I could find per you comment on the other issue. Let me know if you want a subset of these instead.

@thomasvl
Copy link
Collaborator Author

@Lukasa did you want to do this suggestion from that issue, or should I drop this?

Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies Thomas, juggling too many balls right now. Thanks for the ping, this looks great.

@Lukasa Lukasa merged commit 952160b into apple:main Nov 21, 2024
12 checks passed
@thomasvl thomasvl deleted the string_decoding_as branch November 21, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants