mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
makes clippy happy
This commit is contained in:
parent
9a1e44dc78
commit
66dbd3cd34
3 changed files with 5 additions and 4 deletions
|
@ -177,7 +177,7 @@ async fn document_addition(
|
|||
body: Payload,
|
||||
method: IndexDocumentsMethod,
|
||||
) -> Result<HttpResponse, ResponseError> {
|
||||
const ACCEPTED_CONTENT_TYPE: Lazy<Vec<String>> = Lazy::new(|| {
|
||||
static ACCEPTED_CONTENT_TYPE: Lazy<Vec<String>> = Lazy::new(|| {
|
||||
vec![
|
||||
"application/json".to_string(),
|
||||
"application/x-ndjson".to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue