Fix Clippy warnings in `settings` crate (#8700)

This PR fixes a number of Clippy warnings in the `settings` crate.

Release Notes:

- N/A
5c2bd816aeMarshall Bowers committed on 3/2/2024, 5:29:29 AM· committed by GitHubparent26fdd14
2 files changedLine totals unavailable