Skip to content

withLock should be marked as having a discardable result #6615

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

Merged
merged 1 commit into from
May 26, 2023

Conversation

neonichu
Copy link
Contributor

I noticed this through warnings, but I think this also generally makes sense since there isn't a requirement to consume the result here.

I noticed this through warnings, but I think this also generally makes sense since there isn't a requirement to consume the result here.
@neonichu neonichu self-assigned this May 25, 2023
@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@neonichu neonichu merged commit 71fc550 into main May 26, 2023
@neonichu neonichu deleted the withLock-discardableResult branch May 26, 2023 15:27
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.

3 participants