mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Format code
This commit is contained in:
@ -22,10 +22,7 @@ pub struct RenderAggregator {
|
||||
impl RenderAggregator {
|
||||
#[allow(clippy::field_reassign_with_default)]
|
||||
pub fn from_query(query: &RenderQuery) -> Self {
|
||||
let RenderQuery {
|
||||
template,
|
||||
input,
|
||||
} = query;
|
||||
let RenderQuery { template, input } = query;
|
||||
|
||||
let mut ret = Self::default();
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
use crate::common::{shared_index_for_fragments, Server};
|
||||
use crate::json;
|
||||
use meili_snap::{snapshot, json_string};
|
||||
use meili_snap::{json_string, snapshot};
|
||||
|
||||
#[actix_rt::test]
|
||||
async fn empty_id() {
|
||||
@ -465,7 +465,6 @@ async fn both_document_id_and_inline() {
|
||||
"#);
|
||||
}
|
||||
|
||||
|
||||
#[actix_rt::test]
|
||||
async fn multiple_templates_or_docs() {
|
||||
let index = shared_index_for_fragments().await;
|
||||
|
Reference in New Issue
Block a user