remove u128 type

This commit is contained in:
Pascal Seitz
2022-10-06 13:36:44 +08:00
parent 0b86658389
commit e50e74acf8
4 changed files with 7 additions and 23 deletions

View File

@@ -400,11 +400,9 @@ impl QueryParser {
let bytes = base64::decode(phrase).map_err(QueryParserError::ExpectedBase64)?;
Ok(Term::from_field_bytes(field, &bytes))
}
FieldType::IpAddr(_) => {
return Err(QueryParserError::UnsupportedQuery(
"Range query are not supported on IpAddr field.".to_string(),
));
}
FieldType::IpAddr(_) => Err(QueryParserError::UnsupportedQuery(
"Range query are not supported on IpAddr field.".to_string(),
)),
}
}