mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-06 12:46:31 +00:00
Disable clippy warning
This commit is contained in:
@ -362,6 +362,7 @@ impl From<RenderError<'_>> for ResponseError {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::result_large_err)]
|
||||||
fn parse_template_id_fragment<'a>(
|
fn parse_template_id_fragment<'a>(
|
||||||
name: Option<Token<'a>>,
|
name: Option<Token<'a>>,
|
||||||
kind: FragmentKind,
|
kind: FragmentKind,
|
||||||
@ -501,6 +502,7 @@ fn parse_template_id<'a>(
|
|||||||
Ok(template)
|
Ok(template)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::result_large_err)]
|
||||||
async fn render(index: Index, query: RenderQuery) -> Result<RenderResult, ResponseError> {
|
async fn render(index: Index, query: RenderQuery) -> Result<RenderResult, ResponseError> {
|
||||||
let RenderQuery { template, input } = query;
|
let RenderQuery { template, input } = query;
|
||||||
let rtxn = index.read_txn()?;
|
let rtxn = index.read_txn()?;
|
||||||
|
Reference in New Issue
Block a user