From 3ccc0edfe4623d9f558d8133d74939418957a2d3 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 12 May 2025 11:52:55 -0400 Subject: [PATCH] Add comma to panic message (#18048) ## Summary Consistent with other variants of this, separate the conditional clause. --- crates/ty_project/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ty_project/src/lib.rs b/crates/ty_project/src/lib.rs index 547f80bf35..8385004cf2 100644 --- a/crates/ty_project/src/lib.rs +++ b/crates/ty_project/src/lib.rs @@ -605,7 +605,7 @@ where "This indicates a bug in ty.", )); - let report_message = "If you could open an issue at https://github.com/astral-sh/ty/issues/new?title=%5Bpanic%5D we'd be very appreciative!"; + let report_message = "If you could open an issue at https://github.com/astral-sh/ty/issues/new?title=%5Bpanic%5D, we'd be very appreciative!"; diagnostic.sub(SubDiagnostic::new(Severity::Info, report_message)); diagnostic.sub(SubDiagnostic::new( Severity::Info,