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

Fix lint errors from new Rust version. #1016

Merged
merged 3 commits into from
Dec 30, 2023

Conversation

nihohit
Copy link
Contributor

@nihohit nihohit commented Dec 29, 2023

No description provided.

Clippy suspects that this is unnecessary identity map, but it actually
splits the reference. Added type info to clarify this.
They're used in other test files.
@nihohit nihohit merged commit 33cc5f9 into redis-rs:main Dec 30, 2023
10 checks passed
@nihohit nihohit deleted the fix-new-lints-upstream branch December 31, 2023 11:06
nihohit added a commit to nihohit/redis-rs that referenced this pull request Jan 18, 2024
* Replace .get(0) with .first()

* Clarify type signature in map.

Clippy suspects that this is unnecessary identity map, but it actually
splits the reference. Added type info to clarify this.

* Allow unused imports that are actually used.

They're used in other test files.
nihohit added a commit to nihohit/redis-rs that referenced this pull request Jan 18, 2024
* Replace .get(0) with .first()

* Clarify type signature in map.

Clippy suspects that this is unnecessary identity map, but it actually
splits the reference. Added type info to clarify this.

* Allow unused imports that are actually used.

They're used in other test files.
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