From cfb9a38c78825b50b00edcd1e19f10d754a6cb1c Mon Sep 17 00:00:00 2001 From: Zynh0722 Date: Mon, 6 Nov 2023 20:42:32 -0800 Subject: [PATCH] remove unneeded select thanks static typing --- src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 41514a3..ba564ad 100644 --- a/src/main.rs +++ b/src/main.rs @@ -113,7 +113,6 @@ async fn root(State(state): State, HxRequest(hx): HxRequest) -> impl I shifts .filter(end.is_null()) - .select(Shift::as_select()) .first(&mut conn) .await .optional()