Little procedural macro to convert a refutable let expression to an irrefutable.
Example:
#[irrefutable(unreachable)]
let Some((ref a, ref mut b)) = Some(("a", "b"));
*b = "c";
Little procedural macro to convert a refutable let expression to an irrefutable.
Example:
#[irrefutable(unreachable)]
let Some((ref a, ref mut b)) = Some(("a", "b"));
*b = "c";
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.