dont_panic_slice

Crates.iodont_panic_slice
lib.rsdont_panic_slice
version0.1.0
sourcesrc
created_at2017-07-06 20:45:41.295286
updated_at2017-07-06 20:45:41.295286
descriptionSlice that causes link error instead of panicking.
homepagehttps://github.com/Kixunil/dont_panic
repositoryhttps://github.com/Kixunil/dont_panic
max_upload_size
id22239
size6,116
Martin Habovštiak (Kixunil)

documentation

README

Don't panic!() slice

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.

Commit count: 13

cargo fmt