| Crates.io | raise |
| lib.rs | raise |
| version | 2.0.0 |
| created_at | 2022-04-21 14:16:36.277671+00 |
| updated_at | 2022-04-23 10:53:21.265738+00 |
| description | `yeet!` all the things |
| homepage | |
| repository | https://github.com/fee1-dead/raise |
| max_upload_size | |
| id | 571624 |
| size | 5,045 |
yeet!Replace return Err(x) and return None with:
fn foo() -> Option<u32> {
yeet!();
}
fn bar() -> Result<u32, u32> {
yeet!(42);
}
fn baz(x: u32) -> Result<u32, u32> {
if x % 2 == 1 {
yeet!(x);
}
Ok(x)
}
That's pretty much it.