Crates.io | dont_panic_slice |
lib.rs | dont_panic_slice |
version | 0.1.0 |
source | src |
created_at | 2017-07-06 20:45:41.295286 |
updated_at | 2017-07-06 20:45:41.295286 |
description | Slice that causes link error instead of panicking. |
homepage | https://github.com/Kixunil/dont_panic |
repository | https://github.com/Kixunil/dont_panic |
max_upload_size | |
id | 22239 |
size | 6,116 |
This crate uses dont_panic
crate to create drop-in replacement for slices. (Not fully drop-in
yet.) The goal is to ensure the code won't ever panic. The user of the crate must prove to the
compiler that the panicking code is unreachable by checking bounds before indexing into slice.