Post #2396602
2025-05-13 23:54 UTC
TIL that one can use for<'a> syntax in a return position trait bound, like this:
fn foo() -> impl for<'a> binrw::BinWrite<Args<'a> = ()> {
...
}
#rust #rustlang
Replies (0)
No replies.