Skip to content

style: enforce clippy::new_without_default - #266

Open
danieleades wants to merge 1 commit into
httpmock:masterfrom
danieleades:agent/clippy-new-without-default
Open

style: enforce clippy::new_without_default#266
danieleades wants to merge 1 commit into
httpmock:masterfrom
danieleades:agent/clippy-new-without-default

Conversation

@danieleades

Copy link
Copy Markdown
Contributor

Removes new_without_default from the Clippy allow-list and adds Default implementations for the server builder and public comparator types while preserving their public new() constructors. The private HTTPS builder now uses its derived default directly.

Depends on #238.

Checks: cargo +stable fmt --all -- --check; cargo +stable clippy --all-targets --all-features.

@codecov

codecov Bot commented Aug 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@danieleades
danieleades force-pushed the agent/clippy-new-without-default branch 2 times, most recently from 9a4a7e0 to 1114dab Compare August 9, 2026 14:23
@danieleades
danieleades force-pushed the agent/clippy-new-without-default branch from 1114dab to 064b285 Compare August 10, 2026 10:24
@danieleades
danieleades marked this pull request as ready for review August 10, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant