diff options
-rw-r--r-- | src-tauri/src/github/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src-tauri/src/github/mod.rs b/src-tauri/src/github/mod.rs index 0eab305b..bc1ccfe8 100644 --- a/src-tauri/src/github/mod.rs +++ b/src-tauri/src/github/mod.rs @@ -297,8 +297,7 @@ fn turn_pr_number_into_link(input: &str, repo: &str) -> String { // Extract `Mods/Launcher` from repo title let last_line = repo .split('/') - .rev() - .next() + .next_back() .unwrap() .trim_start_matches("Northstar"); // Extract PR number |