mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 16:51:01 +00:00
Fixes for clippy bringing us down to 18 remaining issues.
This brings us a step closer to enforcing clippy on each build.
This commit is contained in:
@ -70,7 +70,7 @@ impl FromStr for Member {
|
||||
type Err = AscDescError;
|
||||
|
||||
fn from_str(text: &str) -> Result<Member, Self::Err> {
|
||||
match text.strip_prefix("_geoPoint(").and_then(|text| text.strip_suffix(")")) {
|
||||
match text.strip_prefix("_geoPoint(").and_then(|text| text.strip_suffix(')')) {
|
||||
Some(point) => {
|
||||
let (lat, lng) = point
|
||||
.split_once(',')
|
||||
|
Reference in New Issue
Block a user