From 2e36f069c20fdc8da55894a87d2f4c0237308cf2 Mon Sep 17 00:00:00 2001 From: Tamo Date: Tue, 26 Mar 2024 19:23:55 +0100 Subject: [PATCH] fmt imports --- meilisearch/src/search_queue.rs | 3 ++- meilisearch/tests/search/search_queue.rs | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/meilisearch/src/search_queue.rs b/meilisearch/src/search_queue.rs index 0dd2abf17..9c0a6704a 100644 --- a/meilisearch/src/search_queue.rs +++ b/meilisearch/src/search_queue.rs @@ -1,6 +1,7 @@ use std::num::NonZeroUsize; -use rand::{rngs::StdRng, Rng, SeedableRng}; +use rand::rngs::StdRng; +use rand::{Rng, SeedableRng}; use tokio::sync::{mpsc, oneshot}; use crate::error::MeilisearchHttpError; diff --git a/meilisearch/tests/search/search_queue.rs b/meilisearch/tests/search/search_queue.rs index 6bb8d2169..717becc3b 100644 --- a/meilisearch/tests/search/search_queue.rs +++ b/meilisearch/tests/search/search_queue.rs @@ -1,4 +1,6 @@ -use std::{num::NonZeroUsize, sync::Arc, time::Duration}; +use std::num::NonZeroUsize; +use std::sync::Arc; +use std::time::Duration; use actix_web::ResponseError; use meili_snap::snapshot;