docs.rs failed to build nothing-0.1.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
nothing-0.1.12
nothing
This is my own version of Option. 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.
Exit code is 0 if it is [Something], 1 if [Nothing].

It's probably nothing.