mirror of
https://github.com/rust-lang/rust
synced 2024-10-18 06:23:59 +00:00
e423a6f5f0
add missing null ptr check in alloc example `alloc` can return null on OOM, if I understood correctly. So we should never just deref a pointer we get from `alloc`. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |