mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 16:51:01 +00:00
apply code suggestion
Co-authored-by: Kerollmops <kero@meilisearch.com>
This commit is contained in:
@ -97,6 +97,12 @@ impl From<fst::Error> for Error {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<GeoError> for Error {
|
||||
fn from(error: GeoError) -> Error {
|
||||
Error::UserError(UserError::InvalidGeoField(error))
|
||||
}
|
||||
}
|
||||
|
||||
impl<E> From<grenad::Error<E>> for Error
|
||||
where
|
||||
Error: From<E>,
|
||||
|
Reference in New Issue
Block a user