expect_macro 0.2.1

The expect! macro
Documentation
  • Coverage
  • 75%
    3 out of 4 items documented2 out of 4 items with examples
  • Size
  • Source code size: 12.87 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.19 MB 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
  • vitiral/expect_macro
    5 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • vitiral

expect_macro: macro to replace expect/unwrap

Build Status Build status Docs

This macro allows you to write expect!(my_result) or expect!(my_result, "error: {}", my_result)

See the library docs for more information

LICENSE

The source code in this repository is Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.