nothing
=======
[](https://crates.io/crates/nothing)
[](https://docs.rs/nothing)
[](https://travis-ci.org/btwiuse/nothing)
nothing::[Probably] is a better [Option].
```no_run
pub enum Probably<T> {
Nothing,
Something(T),
}
```
# Why?
The point is that you can use [Probably] as the return type of your main function:
```no_run
use nothing::{Probably, Nothing};
fn main() -> Probably<()> {
Nothing
}
```
Exit code is `0` if it is [Something], `1` if [Nothing].
You can even use the `?` operator the way you would with [Option] and [Result]. See [./examples/main.rs](https://github.com/btwiuse/nothing/blob/master/examples/main.rs)

Probably nothing.