From 8cb28459a0add49f45bb5f90be78abf695351fa7 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sun, 29 Sep 2024 18:31:47 -0400 Subject: [PATCH] Fix clippy lint. --- src/webhook.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webhook.rs b/src/webhook.rs index 32cfb70..e7772e0 100644 --- a/src/webhook.rs +++ b/src/webhook.rs @@ -61,7 +61,7 @@ pub(crate) async fn hook( StatusCode::INTERNAL_SERVER_ERROR, Json(HookResponse { ok: false, - message: Some(format!("Failed to handle push event.")), + message: Some("Failed to handle push event.".to_string()), }), ), }