Skip to content

Forbid unsafe_code#61

Open
fintelia wants to merge 1 commit intotailhook:masterfrom
fintelia:forbid-unsafe
Open

Forbid unsafe_code#61
fintelia wants to merge 1 commit intotailhook:masterfrom
fintelia:forbid-unsafe

Conversation

@fintelia
Copy link

This crate already uses fully safe code so this PR adds an annotation enforcing that at compile time.

Looking for #![forbid(unsafe_code)] is more reliable than trying to grep the crate source code for instances of "unsafe", since the latter could hypothetically be concealed by macros and such.

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.

1 participant