Crate unflatten

Source
Expand description

§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")));

Traits§

Unflatten