unflatten

Crates.iounflatten
lib.rsunflatten
version0.1.1
sourcesrc
created_at2020-08-31 10:43:42.646472
updated_at2020-08-31 10:48:49.397762
descriptionExtension for un-flattening `Option`.
homepage
repositoryhttps://gitdab.com/lunarlambda/unflatten
max_upload_size
id283008
size4,180
Luna Saphie Mittelbach (LunarLambda)

documentation

https://docs.rs/unflatten

README

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.

Commit count: 0

cargo fmt