From ec887632031141af459e3a9746cd8895eab4326c Mon Sep 17 00:00:00 2001 From: Devan Looches Date: Fri, 5 Aug 2022 07:27:17 -0700 Subject: [PATCH] Fix clippy without recursing new and default functions accidentally --- crates/fj-interop/src/status_report.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/fj-interop/src/status_report.rs b/crates/fj-interop/src/status_report.rs index 80aa1ae5a..7478fede1 100644 --- a/crates/fj-interop/src/status_report.rs +++ b/crates/fj-interop/src/status_report.rs @@ -8,7 +8,9 @@ pub struct StatusReport { impl StatusReport { /// Create a new ``StatusReport`` instance with a blank status pub fn new() -> Self { - Self::default() + Self { + status: String::new(), + } } /// Update the status