dont_panic_slice 0.1.0

Slice that causes link error instead of panicking.
Documentation
  • Coverage
  • 5.56%
    1 out of 18 items documented0 out of 17 items with examples
  • Size
  • Source code size: 6.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 927.71 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Kixunil/dont_panic
    64 5 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Kixunil

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.