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: Uses .into() when .try_into() is infallible #34119

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

brooksprumo
Copy link
Contributor

Problem

There are nightly clippy warnings that will prevent upgrading our stable Rust version1.

For this PR, it's this one: https://rust-lang.github.io/rust-clippy/master/index.html#/try_into

Summary of Changes

Replaces .try_into() with .into().

Footnotes

  1. Here's the build failure: https://buildkite.com/solana-labs/solana/builds/104503#018bd970-26af-4b69-9fbb-29dea2681e4e

@brooksprumo brooksprumo self-assigned this Nov 16, 2023
@brooksprumo brooksprumo marked this pull request as ready for review November 16, 2023 19:25
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

Merging #34119 (1bc4ff6) into master (b4c652e) will increase coverage by 0.0%.
The diff coverage is 100.0%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #34119   +/-   ##
=======================================
  Coverage    81.9%    81.9%           
=======================================
  Files         816      816           
  Lines      219753   219752    -1     
=======================================
+ Hits       180001   180010    +9     
+ Misses      39752    39742   -10     

@brooksprumo brooksprumo merged commit 9a78924 into solana-labs:master Nov 16, 2023
42 checks passed
@brooksprumo brooksprumo deleted the clipy/alt-bn branch November 16, 2023 20:28
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