Interesting - I think this minimal solution I actually wouldn't mind, but I'd be concerned about introducing syntax for callers. Keeping it as a private construct in libraries seems fine though.
this post was submitted on 23 Mar 2026
9 points (100.0% liked)
Rust
7894 readers
30 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 2 years ago
MODERATORS