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 clone_on_copy warnings in components/script #31877

Merged
merged 1 commit into from Mar 26, 2024

Conversation

oluwatobiss
Copy link
Contributor

@oluwatobiss oluwatobiss commented Mar 26, 2024

Remove the clone() calls on Copy types to fix the clone_on_copy warnings.

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


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes are part of 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 force-pushed the clippy/fix-clone-on-copy-warnings branch from 34a6a1b to d718b1e Compare March 26, 2024 19:06
@mrobinson
Copy link
Member

Thanks @oluwatobiss. I've added this to the merge queue. You should not need to use the "Update branch" button any more.

@mrobinson mrobinson added this pull request to the merge queue Mar 26, 2024
@oluwatobiss
Copy link
Contributor Author

Great. Thank you!

Merged via the queue into servo:main with commit b55d0a2 Mar 26, 2024
9 checks passed
ektuu pushed a commit to ektuu/servo that referenced this pull request Mar 28, 2024
MunishMummadi pushed a commit to MunishMummadi/servo that referenced this pull request Mar 29, 2024
@oluwatobiss oluwatobiss deleted the clippy/fix-clone-on-copy-warnings branch April 1, 2024 16:24
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.

None yet

2 participants