Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Mark struct Context as must_use #308

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marmistrz
Copy link

Otherwise calling .context() on a result using ResultExt will
not trigger a warning if the result remains unused, e.g.

fallible_function().context("bar");

Otherwise calling .context() on a result using ResultExt will
not trigger a warning if the result remains unused, e.g.

```
fallible_function().context("bar");
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant