From 16b6333cd460949088c4d834180f3698a583b40b Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Wed, 3 Jul 2024 18:59:43 -0700 Subject: [PATCH] Fix clippy error --- src/api/http/health.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api/http/health.rs b/src/api/http/health.rs index ada43a20..17488cc7 100644 --- a/src/api/http/health.rs +++ b/src/api/http/health.rs @@ -17,7 +17,6 @@ use axum::{Json, Router}; #[cfg(feature = "open-api")] use schemars::JsonSchema; use serde_derive::{Deserialize, Serialize}; -use std::collections::BTreeMap; use std::time::Duration; use tracing::instrument; @@ -120,7 +119,10 @@ fn health_get_docs(op: TransformOperation) -> TransformOperation { CheckResponse::builder() .status(Status::Ok) .latency(Duration::from_secs(1)) - .custom(BTreeMap::from([("foo", 1234), ("bar", 5000)])) + .custom(std::collections::BTreeMap::from([ + ("foo", 1234), + ("bar", 5000), + ])) .build(), ), (