Irrefutable procedural macro

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";
3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.