Skip to content

Commit

Permalink
add string representation of Sort::Relevance
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmistman authored and theduke committed Oct 28, 2023
1 parent 25aa6a5 commit 616f934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl Sort {
pub(crate) fn to_str(&self) -> &str {
match self {
Self::Alphabetical => "alpha",
Self::Relevance => "",
Self::Relevance => "relevance",
Self::Downloads => "downloads",
Self::RecentDownloads => "recent-downloads",
Self::RecentUpdates => "recent-updates",
Expand Down

0 comments on commit 616f934

Please sign in to comment.