nothing
=======
[](https://crates.io/crates/nothing)
[](https://docs.rs/nothing)
[](https://travis-ci.org/btwiuse/nothing)
This is my own version of [Option](https://doc.rust-lang.org/stable/std/option/enum.Option.html). Definition:
```
pub enum Probably<T> {
Nothing,
Something(T),
}
```
# Why?
The point is that you can use [Probably] as the return type of your main function:
```
use nothing::{Probably, Nothing};
fn main() -> Probably<()> {
Nothing
}
```
Exit code is `0` if it is [Something], `1` if [Nothing].
See [./examples/main.rs](https://github.com/btwiuse/nothing/blob/master/examples/main.rs)

It's probably nothing.