Joke Rust library that adds the `unflatten()` method to `Option`.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luna Catkins fce6eeb9e6
Initial (and hopefully only) commit
1 month ago
src Initial (and hopefully only) commit 1 month ago
.gitignore Initial (and hopefully only) commit 1 month ago
Cargo.toml Initial (and hopefully only) commit 1 month ago
LICENSE.txt Initial (and hopefully only) commit 1 month ago
README.md Initial (and hopefully only) commit 1 month ago

README.md

unflatten

unflatten is a (joke of a) library which provides one thing:

use unflatten::Unflatten;

let option = Some("body once told me");
let unflattened = option.unflatten();

assert_eq!(unflattened, Some(Some("body once told me")));

wait, that’s it?

yeah.

really? no features, nothing?

yep.

why did you even make this?

i don’t know.

License

This project is licensed under the MIT license. See LICENSE.txt for more information.