diff options
author | Florian Klink <flokli@flokli.de> | 2023-11-15T15·40+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-11-17T14·01+0000 |
commit | ebfe45625190f9920125aa82b1c6c0ec63abac0d (patch) | |
tree | a037c8ec7df1e38e481c20a9dba5539a3eb0660e /users/Profpatsch/nixpkgs-rewriter | |
parent | d4d1387409fa4f138c447d41c22eb258022ea2cd (diff) |
refactor(tvix/castore/tonic): use match in channel_from_url r/7025
Having random if blocks and returning from them is error-prone. Also, turns out we only need the unprefixed scheme in the fallback case, so move it down to there. Change-Id: Ifcb09279c963f8a39e0dbabe145990263f3d7cf9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10041 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'users/Profpatsch/nixpkgs-rewriter')
0 files changed, 0 insertions, 0 deletions