#[must_use]
#2116
`#[must_use]`
#2116
-
Could this be replaced with a compile time |
Beta Was this translation helpful? Give feedback.
Answered by
SergioBenitez
Feb 26, 2022
Replies: 1 comment
-
No. We need to know at runtime if the value has been inspected, but must_use is purely a (best effort) compile-time mechanism. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jRimbault
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No. We need to know at runtime if the value has been inspected, but must_use is purely a (best effort) compile-time mechanism.