[−][src]Macro kompact::let_irrefutable
A macro that provides a shorthand for an irrefutable let binding, that the compiler cannot determine on its own
This is equivalent to the following code:
let name = if let Pattern(name) = expression { name } else { unreachable!(); };