Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

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
@brooksprumo brooksprumo deleted the clipy/alt-bn branch November 16, 2023 20:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants