factori icon indicating copy to clipboard operation
factori copied to clipboard

Allow clippy::needless_update in Builder::build

Open benediktsatalia opened this issue 2 years ago • 1 comments

This removes a lot of clippy warnings for factori usages that have defaults for all fields of a struct which makes the ..factori::Default::default() a needless update. This is ignores the warnings for this from clippy.

benediktsatalia avatar Feb 20 '23 21:02 benediktsatalia

@mjkillough any objections to merging this? In the meantime I've added #[non_exhaustive] to a bunch of my structs to get rid of the noise when running clippy.

andrewswait avatar Feb 17 '24 18:02 andrewswait