You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-12-23 06:56:25 +02:00
See individual commits in https://github.com/google/comprehensive-rust/pull/2805. Fixes #2734.
371 B
371 B
minutes
| minutes |
|---|
| 15 |
Unsafe Functions
A function or method can be marked unsafe if it has extra preconditions you
must uphold to avoid undefined behaviour.
Unsafe functions may come from two places:
- Rust functions declared unsafe.
- Unsafe foreign functions in
extern "C"blocks.
We will look at the two kinds of unsafe functions next.