Skip to content

Commit b626f88

Browse files
committed
Improve serde settings
1 parent c728491 commit b626f88

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/settings.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ pub struct TypoToleranceSettings {
3131
}
3232

3333
#[derive(Debug, Deserialize, Clone, Eq, PartialEq, Serialize)]
34+
#[serde(rename_all = "camelCase")]
3435
pub enum FacetSortValue {
35-
#[serde(rename = "alpha")]
3636
Alpha,
37-
#[serde(rename = "count")]
3837
Count,
3938
}
4039

0 commit comments

Comments
 (0)