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

Remove to_string which is not necessary #34540

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

sakridge
Copy link
Contributor

@sakridge sakridge commented Dec 20, 2023

Problem

format! already uses to_string() to format it's arguments, so no need to convert it with to_string()

Summary of Changes

Remove to_string()

Fixes #

@sakridge sakridge requested a review from behzadnouri December 20, 2023 12:03
Copy link

codecov bot commented Dec 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e877eef) 81.8% compared to head (92b9660) 81.8%.
Report is 6 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #34540   +/-   ##
=======================================
  Coverage    81.8%    81.8%           
=======================================
  Files         822      822           
  Lines      221504   221504           
=======================================
+ Hits       181289   181373   +84     
+ Misses      40215    40131   -84     

@sakridge sakridge merged commit 210d320 into solana-labs:master Dec 20, 2023
19 checks passed
@sakridge sakridge deleted the remove-to-string branch December 20, 2023 13:36
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