From 3d6c55b4d44feec15f47b82c72c89bbf58c31c8a Mon Sep 17 00:00:00 2001 From: Nika Layzell Date: Thu, 19 Sep 2024 14:38:13 -0400 Subject: [PATCH] Use the new browse endpoint for diff.rs This was a new endpoint added in xfbs/diff.rs#24, which is used to browse a specific version of a crate. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index f793b166..03b1ff42 100644 --- a/src/main.rs +++ b/src/main.rs @@ -580,7 +580,7 @@ fn cmd_inspect( format!("https://sourcegraph.com/crates/{package}@v{version}") } FetchMode::DiffRs => { - format!("https://diff.rs/{package}/{version}/{version}/") + format!("https://diff.rs/browse/{package}/{version}/") } FetchMode::Local => unreachable!(), };