-
-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
Description
I think that we should enable this lint by default which forces writing #[must_use]
where possible. All functions that return some kind of result must also be consumed or ignored by let _ = foo()
. This will help programmers to prevent code mistakes. The rust std library also uses the #[must_use]
attributes in every possible place.
nicholasbishop, GabrielMajeri and timrobertsdev
Metadata
Metadata
Assignees
Labels
No labels