Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fee1-dead/raise

`yeet!`
https://github.com/fee1-dead/raise

Last synced: about 2 months ago
JSON representation

`yeet!`

Awesome Lists containing this project

README

        

# `yeet!`

Replace `return Err(x)` and `return None` with:

```rust
fn foo() -> Option {
yeet!();
}

fn bar() -> Result {
yeet!(42);
}

fn baz(x: u32) -> Result {
if x % 2 == 1 {
yeet!(x);
}
Ok(x)
}
```

That's pretty much it.