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

Require unsafe blocks in unsafe fns #165

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

FenrirWolf
Copy link
Member

Applies #![deny(unsafe_op_in_unsafe_fn)] to the whole crate, because marking unsafe code is a good idea even in unsafe functions.

@FenrirWolf
Copy link
Member Author

FenrirWolf commented Feb 23, 2024

Think I'll just merge this since, as discussed in this review thread, we already know we want it in

@FenrirWolf FenrirWolf merged commit 10163fd into rust3ds:master Feb 23, 2024
4 checks passed
@FenrirWolf FenrirWolf deleted the unsafe_blocks_in_unsafe_fn branch February 23, 2024 02:27
Copy link
Member

@ian-h-chamberlain ian-h-chamberlain left a comment

Choose a reason for hiding this comment

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

LGTM

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