Projects / Programming languages / Advanced

⚠️ Contain unsafe in a few lines and wrap it in a safe API

☆ Read later

What you end up with

A split_at_mut whose unsafe fits in six lines, a SAFETY: comment listing what has to hold, and five tests that pin down the edges.

🔒

Create a free account to read this project

Sign up for a free membership to read every free project. Already have an account? Please sign in.

Report a problem with this project

Log in to send a report.

What to build next

← Back to all projects