bail_macros

Crates.iobail_macros
lib.rsbail_macros
version0.1.0
sourcesrc
created_at2022-03-20 16:22:02.09478
updated_at2022-03-20 16:22:02.09478
descriptionBail macros for Options, Results and more
homepagehttps://gitlab.com/LukasDoesDev/bail_macros
repositoryhttps://gitlab.com/LukasDoesDev/bail_macros
max_upload_size
id553635
size23,318
LukasDoesDev (LukasDoesDev)

documentation

README

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!");
Commit count: 5

cargo fmt