Skip to content

Commit

Permalink
fix: Apply clippy suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
GeckoEidechse committed Sep 13, 2024
1 parent 6d00798 commit cd664b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/github/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ pub fn compare_tags_northstar(first_tag: Tag, second_tag: Tag) -> Result<String,

// Convert the set to a sorted vector.
let mut sorted_vec: Vec<String> = authors_set.into_iter().collect();
sorted_vec.sort_by(|a, b| a.to_lowercase().cmp(&b.to_lowercase()));
sorted_vec.sort_by_key(|a| a.to_lowercase());

// Define a string to prepend to each element.
let prefix = "@";
Expand Down

0 comments on commit cd664b7

Please sign in to comment.