unflatten 0.1.1

Extension for un-flattening `Option<T>`.
Documentation
  • Coverage
  • 33.33%
    1 out of 3 items documented1 out of 3 items with examples
  • Size
  • Source code size: 4.18 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 484.82 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • LunarLambda

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.