Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clippy: Fix needless_return warnings in components/script #31776

Merged
merged 2 commits into from Mar 20, 2024

Conversation

oluwatobiss
Copy link
Contributor

Remove unneeded return statements to fix needless_return warnings.

ref: https://rust-lang.github.io/rust-clippy/master/index.html#needless_return


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix Fix as many clippy problems as possible #31500
  • These changes do not require tests because they only resolve clippy warnings. They do not change functionalities.

@mrobinson mrobinson added this pull request to the merge queue Mar 20, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 20, 2024
@mrobinson
Copy link
Member

Looks like this failed due to infrastructure issues. Sending it back to the MQ.

@mrobinson mrobinson added this pull request to the merge queue Mar 20, 2024
Merged via the queue into servo:main with commit 15bf32a Mar 20, 2024
9 checks passed
@oluwatobiss oluwatobiss deleted the clippy/fix-unneeded-return-warning branch March 20, 2024 15:50
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.

Fix as many clippy problems as possible
2 participants