bail_macros 0.1.0

Bail macros for Options, Results and more
Documentation
  • Coverage
  • 90.24%
    37 out of 41 items documented1 out of 1 items with examples
  • Size
  • Source code size: 23.31 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 434.67 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • LukasDoesDev/bail_macros
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • LukasDoesDev

Bail Macros

Crates.io Lib.rs Docs.rs License

Bail macros for Options, Results and more

Quick Example

use bail_macros::bob;

for i in 0..=20 {
    println!("Index: {}", i);
    bob!(None);
    panic!("bob didn't break");
}
println!("cob broke out of the loop!");