mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-14 16:56:25 +00:00
Simplify integer and float functions trait bounds
This commit is contained in:
@ -33,7 +33,7 @@ impl From<OrderedFloat<f64>> for FacetValue {
|
||||
|
||||
impl From<i64> for FacetValue {
|
||||
fn from(integer: i64) -> FacetValue {
|
||||
FacetValue::Number(integer as f64)
|
||||
FacetValue::Number(OrderedFloat(integer as f64))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user