Replies: 1 comment 2 replies
-
Is this an issue that we should open in clippy? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reading this comment: https://www.reddit.com/r/rust/comments/w5hcbs/comment/ih7zuur/?context=3
it might be nice to write something up on that and link that to
Deref
as an anti-pattern as a "solution".Q: So my question is what would be the most convenient way for a user to be able to add data to their structs that is safe (the user the can't delete it) and doesn't involve the user having to manually add the same data and functions over and over for each class.
A:
Beta Was this translation helpful? Give feedback.
All reactions