Skip to content

chore: silence clippy::redundant_clone warning #2619

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

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Jun 16, 2023

The purpose of this test is to assert two clones of the same span are equal to each other, so the clone is kind of the whole point of the test. This commit adds an allow attribute to make clippy shut up about it.

The purpose of this test is to assert two clones of the same span are
equal to each other, so the clone is kind of the whole point of the
test. This commit adds an allow attribute to make clippy shut up about
it.
@hawkw hawkw requested review from davidbarsky and a team as code owners June 16, 2023 13:15
@hawkw hawkw enabled auto-merge (squash) June 16, 2023 13:15
@hawkw hawkw disabled auto-merge June 16, 2023 15:23
@hawkw hawkw merged commit 2fc09f4 into master Jun 16, 2023
@hawkw hawkw deleted the eliza/fix-clippy-clone-warning branch June 16, 2023 15:24
@davidbarsky
Copy link
Member

whoops, looks good to me.

(sorry, forgot about early meetings)

hawkw added a commit that referenced this pull request Jun 17, 2023
The purpose of this test is to assert two clones of the same span are
equal to each other, so the clone is kind of the whole point of the
test. This commit adds an allow attribute to make clippy shut up about
it.
hawkw added a commit that referenced this pull request Jun 19, 2023
The purpose of this test is to assert two clones of the same span are
equal to each other, so the clone is kind of the whole point of the
test. This commit adds an allow attribute to make clippy shut up about
it.
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