Skip to content

style: enforce clippy::expect_fun_call - #280

Open
danieleades wants to merge 1 commit into
httpmock:masterfrom
danieleades:agent/clippy-expect-fun-call
Open

style: enforce clippy::expect_fun_call#280
danieleades wants to merge 1 commit into
httpmock:masterfrom
danieleades:agent/clippy-expect-fun-call

Conversation

@danieleades

Copy link
Copy Markdown
Contributor

What changed

  • remove clippy::expect_fun_call from the temporary allow list
  • enforce the lint through the existing clippy::all deny gate

Why

The current codebase already satisfies this lint, so the exception is no longer needed. Removing it prevents eagerly evaluated formatting or function calls from being introduced in expect messages.

Impact

This changes lint enforcement only; runtime behavior and the public API are unchanged.

Validation

  • cargo clippy --all-targets --all-features -- -A clippy::double_must_use

@danieleades
danieleades marked this pull request as ready for review August 10, 2026 10:40
@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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