From ff59ae56f4b9681612f0bbdd3cae3144fe3bfa15 Mon Sep 17 00:00:00 2001 From: Guillaume Mourier Date: Tue, 23 Aug 2022 17:17:02 +0200 Subject: [PATCH] cargo fmt --- meilisearch-http/src/metrics.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/meilisearch-http/src/metrics.rs b/meilisearch-http/src/metrics.rs index 28db54bec..cb4239192 100644 --- a/meilisearch-http/src/metrics.rs +++ b/meilisearch-http/src/metrics.rs @@ -21,13 +21,14 @@ lazy_static! { "Meilisearch Db Size In Bytes" )) .expect("Can't create a metric"); - pub static ref MEILISEARCH_INDEX_COUNT: IntGauge = register_int_gauge!(opts!( - "meilisearch_index_count", - "Meilisearch Index Count" - )) - .expect("Can't create a metric"); + pub static ref MEILISEARCH_INDEX_COUNT: IntGauge = + register_int_gauge!(opts!("meilisearch_index_count", "Meilisearch Index Count")) + .expect("Can't create a metric"); pub static ref MEILISEARCH_INDEX_DOCS_COUNT: IntGaugeVec = register_int_gauge_vec!( - opts!("meilisearch_index_docs_count", "Meilisearch Index Docs Count"), + opts!( + "meilisearch_index_docs_count", + "Meilisearch Index Docs Count" + ), &["index"] ) .expect("Can't create a metric");