blob: 9d2964fc77cc7520bf24ca15a4aaa12b008ced8d [file] [log] [blame]
fn main() {
fn f() -> Option<i32> {
Some("fffffffsssssssssddddssssfffffddddff").map(|s| s).map(|s| s.to_string()).map(|res| {
match Some(res) {
Some(ref s) if s == "" => 41,
Some(_) => 42,
_ => 43,
}
})
}
println!("{:?}", f())
}