The yeet! macro
yeet-ops is a super small crate to compliment the do yeet statement implemented in https://github.com/rust-lang/rust/pull/96376
This crate requires a nightly build of Rust.
Usage
Simply toss this in your Cargo.toml dependencies:
= "^1.0.0"
Then you are good to go!
// Needed!
use yeet;
/// A function that yeets `None`
/// A function that yeets `Err(1)`