Another Rust thought, I wonder whether ergonomically speaking at least, one dece...
Josh Simmons @dotstdy@mastodon.social
Another Rust thought, I wonder whether ergonomically speaking at least, one decent way to simplify interaction with the borrow checker would be some kind of "bundle" concept for structures.
i.e. instead of just having a struct that unifies lifetimes like
```
struct Connection {
rx_queue: Queue,
tx_queue: Queue,
}
```
you'd have a bundle that keeps the individual queue lifetimes disjoint.
You can already do this by manually destructuring the object in caller code, but it's kind of a PITA.