mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-30 23:46:28 +00:00 
			
		
		
		
	Make rustfmt happy
This commit is contained in:
		| @@ -427,7 +427,8 @@ impl Segment { | ||||
|         ) { | ||||
|             // Replace the version number with the prototype name if any. | ||||
|             let version = build_info::DescribeResult::from_build() | ||||
|                 .and_then(|describe| describe.as_prototype()).unwrap_or(env!("CARGO_PKG_VERSION")); | ||||
|                 .and_then(|describe| describe.as_prototype()) | ||||
|                 .unwrap_or(env!("CARGO_PKG_VERSION")); | ||||
|  | ||||
|             let _ = self | ||||
|                 .batcher | ||||
|   | ||||
| @@ -1,7 +1,3 @@ | ||||
| use crate::extractors::authentication::policies::ActionPolicy; | ||||
| use crate::extractors::authentication::{AuthenticationError, GuardedData}; | ||||
| use crate::routes::create_all_stats; | ||||
| use crate::search_queue::SearchQueue; | ||||
| use actix_web::http::header; | ||||
| use actix_web::web::{self, Data}; | ||||
| use actix_web::HttpResponse; | ||||
| @@ -14,6 +10,11 @@ use prometheus::{Encoder, TextEncoder}; | ||||
| use time::OffsetDateTime; | ||||
| use utoipa::OpenApi; | ||||
|  | ||||
| use crate::extractors::authentication::policies::ActionPolicy; | ||||
| use crate::extractors::authentication::{AuthenticationError, GuardedData}; | ||||
| use crate::routes::create_all_stats; | ||||
| use crate::search_queue::SearchQueue; | ||||
|  | ||||
| #[derive(OpenApi)] | ||||
| #[openapi(paths(get_metrics))] | ||||
| pub struct MetricApi; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user