We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
transform if else block into then_some() call if else block returns None
none_else_block
pedantic
No response
let a = true; if a == true { Some("asd") } else { None } | v a.then_some("asd");