Skip to content

Comments

More granular unsafe blocks.#42

Merged
dtolnay merged 1 commit intodtolnay:masterfrom
anforowicz:more-granular-unsafe-blocks
Mar 26, 2024
Merged

More granular unsafe blocks.#42
dtolnay merged 1 commit intodtolnay:masterfrom
anforowicz:more-granular-unsafe-blocks

Conversation

@anforowicz
Copy link
Contributor

There should be no functional changes from this commit - the same code is used before and after this commit, except that unsafe { ... } blocks wrap smaller pieces of code afterwards. Having more granular unsafe blocks hopefully makes unsafe audits a tiny bit easier.

There should be no functional changes from this commit - the same code
is used before and after this commit, except that `unsafe { ... }`
blocks wrap smaller pieces of code afterwards.  Having more granular
`unsafe` blocks hopefully makes `unsafe` audits a tiny bit easier.
Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

Thanks!

@dtolnay dtolnay merged commit ea29bbd into dtolnay:master Mar 26, 2024
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