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

Commits on Apr 14, 2019

  1. Mark struct Context as must_use

    Otherwise calling .context() on a result using ResultExt will
    not trigger a warning if the result remains unused, e.g.
    
    ```
    fallible_function().context("bar");
    ```
    marmistrz committed Apr 14, 2019
    Configuration menu
    Copy the full SHA
    76b6bd7 View commit details
    Browse the repository at this point in the history