Skip to content

Commit

Permalink
Fix clippy without recursing new and default functions accidentally
Browse files Browse the repository at this point in the history
  • Loading branch information
devanlooches committed Aug 5, 2022
1 parent 37bd7a1 commit fdd602c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/fj-interop/src/status_report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdd602c

Please sign in to comment.