Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Nested `format_args!` lifetime error
I recently noticed that Allow storing `format_args!()` in a variable by m-ou-se ยท Pull Request #140748 ยท rust-lang/rust ยท GitHub has been resolved.
This made me hope that the following would work:
However it doesn't seem to be that easy.
I finally got it to work using the super_let
feature:
Now, I'm wondering if there's an easier way to do this.
I appreciate any input!
1 post - 1 participant
๐ท๏ธ Rust_feed