Fix clippy lints after #16668 (#16671)
Fix clippy lints after #16668 (#16671)

[ci skip-build-wheels]
pantsbuild/pants,pantsbuild/pants,benjyw/pants,benjyw/pants,benjyw/pants,pantsbuild/pants,pantsbuild/pants,benjyw/pants,benjyw/pants,benjyw/pants,pantsbuild/pants,pantsbuild/pants,pantsbuild/pants,benjyw/pants