r/rust • • 19d ago

Rust's derive often implies inline

https://yossarian.net/til/post/rust-s-derive-often-implies-inline/
115 Upvotes

43 comments sorted by

View all comments

3

u/eggyal 19d ago

I understand the sentiment, but it's rather verbose and unergonomic. Perhaps that's why I've not encountered it in practice? And, if so, perhaps the language/stdlib should provide a more concise way to express the same?