Skip to content

Commit 616f934

Browse files
cdmistmantheduke
authored andcommitted
add string representation of Sort::Relevance
1 parent 25aa6a5 commit 616f934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl Sort {
4949
pub(crate) fn to_str(&self) -> &str {
5050
match self {
5151
Self::Alphabetical => "alpha",
52-
Self::Relevance => "",
52+
Self::Relevance => "relevance",
5353
Self::Downloads => "downloads",
5454
Self::RecentDownloads => "recent-downloads",
5555
Self::RecentUpdates => "recent-updates",

0 commit comments

Comments
 (0)