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 warning from redis crate. #2841

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Fix warning from redis crate. #2841

merged 1 commit into from
Sep 18, 2024

Conversation

rylev
Copy link
Collaborator

@rylev rylev commented Sep 18, 2024

You can read about the warning here: redis-rs/redis-rs#1228

Essentially, the functions in question are subject to a subtle change that will be coming in Rust 2024. To get ahead of this change, a warning is now produced in Rust 1.81. The fix is small even if it's unfortunately a bit awkward.

@rylev rylev requested a review from itowlson September 18, 2024 08:37
Copy link
Contributor

@itowlson itowlson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Egad! Nice find @rylev. Do you think the assignment to unit merits a comment/link? Definitely not a blocker though.

You can read about the warning here: redis-rs/redis-rs#1228

Essentially, the functions in question are subject to a subtle change
that will be coming in Rust 2024. To get ahead of this change, a warning
is now produced in Rust 1.81. The fix is small even if it's
unfortunately a bit awkward.

Signed-off-by: Ryan Levick <[email protected]>
@rylev rylev merged commit 1e3d971 into main Sep 18, 2024
17 checks passed
@rylev rylev deleted the fix-new-warning branch September 18, 2024 16:07
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.

3 participants