A macro that allows you to implement code that will be automatically executed after the function code has finished, be it the end of the function or even a panic state.
usedrop_code::drop_code;fnmain(){drop_code!{println!("line 6");}drop_code!{println!("line 9");}drop_code!{println!("line 13");}println!("line 12");// out:
// line 12
// line 13
// line 9
// line 6
}