From a9eef2b68f0f07dc7b0e5b658569a9699b981f14 Mon Sep 17 00:00:00 2001 From: Zynh0722 Date: Mon, 6 Nov 2023 20:40:16 -0800 Subject: [PATCH] more accurate expect comment --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ef60524..632d704 100644 --- a/src/main.rs +++ b/src/main.rs @@ -119,7 +119,7 @@ async fn root(State(state): State, HxRequest(hx): HxRequest) -> impl I .first(&mut conn) .await .optional() - .expect("Query failed: No open shifts found") + .expect("Query failed") }; tracing::debug!("{open_shift:?}");