diff options
author | cat_or_not <41955154+catornot@users.noreply.github.com> | 2023-04-16 15:55:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-16 21:55:09 +0200 |
commit | c106e8ac0eafdbb1c7c549f93f7e8ad0d3cd558c (patch) | |
tree | 7b9a3f2ce86687b166411c4b72cd8e1f80a041c7 /src-tauri/src/github/mod.rs | |
parent | d1d6c3001d0066d4774d4b92560f6098f78e689b (diff) | |
download | FlightCore-c106e8ac0eafdbb1c7c549f93f7e8ad0d3cd558c.tar.gz FlightCore-c106e8ac0eafdbb1c7c549f93f7e8ad0d3cd558c.zip |
Use pass-by-reference where possible (#266)
Use pass-by-reference where possible
also contains some other small changes
Diffstat (limited to 'src-tauri/src/github/mod.rs')
-rw-r--r-- | src-tauri/src/github/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/github/mod.rs b/src-tauri/src/github/mod.rs index c46d7c60..b336ab5c 100644 --- a/src-tauri/src/github/mod.rs +++ b/src-tauri/src/github/mod.rs @@ -86,7 +86,7 @@ pub fn compare_tags(first_tag: Tag, second_tag: Tag) -> Result<String, String> { repo, first_tag.name, second_tag.name ); - let comparison: Comparison = client.get(&comparison_url).send().unwrap().json().unwrap(); + let comparison: Comparison = client.get(comparison_url).send().unwrap().json().unwrap(); let commits = comparison.commits; // Display the list of commits. |