Skip to content

Conversation

@nnabeyang
Copy link
Contributor

This change removes the intermediate var_name binding in the almost_equals helper function within tests.rs. The original binding was introduced by commit 08e4d5e and appears to be a mechanical outcome of applying Clippy lint rules. The update now returns the match expression result directly, eliminating the redundant temporary variable and simplifying the code logic.

@emilio emilio added this pull request to the merge queue Nov 3, 2025
Merged via the queue into servo:main with commit 88c9a12 Nov 3, 2025
15 checks passed
@nnabeyang nnabeyang deleted the refactor/tests-almost_equals-direct-match-return branch November 3, 2025 10:56
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.

2 participants