Closed matthunz closed 1 year ago
Thanks for the PR! I don't have a strong opinion about the presence of default
vs new
, although I wonder if whoever added that allow
option had a reason for it...
Given that removing new
is a breaking change, though, I'd advocate for keeping it there and just adding the default
.
I don't actually remember the rationale for wanting to avoid default, here, but in any case we definitely want to keep the new
method, although I do not see any harm in also adding an impl of Default
.
This removes the need for
#[allow(clippy::new_without_default)]