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

Remove unnecessary code#17559

Merged
jeffwashington merged 1 commit intosolana-labs:masterfrom
jeffwashington:snapshot3
May 28, 2021
Merged

Remove unnecessary code#17559
jeffwashington merged 1 commit intosolana-labs:masterfrom
jeffwashington:snapshot3

Conversation

@jeffwashington
Copy link
Copy Markdown
Contributor

@jeffwashington jeffwashington commented May 27, 2021

Problem

Remove unnecessary code. Unless I'm missing something.

Summary of Changes

Fixes #

@jeffwashington jeffwashington changed the title remove unnecessary clone Remove unnecessary code May 27, 2021
@jeffwashington jeffwashington marked this pull request as ready for review May 27, 2021 22:25
@jeffwashington jeffwashington requested a review from ryoqun May 27, 2021 22:26
@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2021

Codecov Report

Merging #17559 (dac16c7) into master (ec1a307) will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           master   #17559   +/-   ##
=======================================
  Coverage    82.6%    82.6%           
=======================================
  Files         427      427           
  Lines      119189   119183    -6     
=======================================
+ Hits        98541    98542    +1     
+ Misses      20648    20641    -7     

Comment thread runtime/src/bank.rs
.get_snapshot_storages(self.slot())
.into_iter()
.collect()
self.rc.get_snapshot_storages(self.slot())
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

@ryoqun ryoqun left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for cleaning. :)

@jeffwashington jeffwashington merged commit 1d02dba into solana-labs:master May 28, 2021
mergify Bot pushed a commit that referenced this pull request Jun 2, 2021
(cherry picked from commit 1d02dba)
mergify Bot added a commit that referenced this pull request Jun 2, 2021
(cherry picked from commit 1d02dba)

Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
@brooksprumo brooksprumo mentioned this pull request Aug 23, 2021
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