Skip to content

Remove many unsafe blocks#6

Merged
awolverp merged 5 commits intoawolverp:masterfrom
andersk:avoid-unsafe
Apr 10, 2026
Merged

Remove many unsafe blocks#6
awolverp merged 5 commits intoawolverp:masterfrom
andersk:avoid-unsafe

Conversation

@andersk
Copy link
Copy Markdown
Contributor

@andersk andersk commented Mar 6, 2026

The documentation claims this library “avoids the use of unsafe code blocks”:

This library is designed with a strong focus on performance and speed. It's written in **Rust** and avoids the use of unsafe code blocks.

That’s not currently true, but it should be. At least 63 of the 75 unsafe blocks have no real reason to be there—remove them.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
andersk added 4 commits March 7, 2026 01:41
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@awolverp awolverp merged commit a22cac1 into awolverp:master Apr 10, 2026
@andersk andersk deleted the avoid-unsafe branch April 14, 2026 22:38
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