Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Add a helper to flatten Result<Result<T>> with tokio_util #210

Merged
merged 1 commit into from
Jan 19, 2022

Commits on Jan 19, 2022

  1. Add a helper to flatten Result<Result<T>> with tokio_util

    I think this is nicer than having `??` which still looks odd to me,
    and we can also drop a `map(anyhow::Error::msg)` in once place too.
    
    Prep for further work.
    cgwalters committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    92c3303 View commit details
    Browse the repository at this point in the history