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

disk index: remove Option on read_value #31023

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

jeffwashington
Copy link
Contributor

Problem

See #30711

Summary of Changes

read_value always returns Some(...). Simplify everyone by making it return the value directly without wrapping in an Option

Fixes #

@codecov
Copy link

codecov bot commented Apr 3, 2023

Codecov Report

Merging #31023 (5f695fa) into master (9219a16) will decrease coverage by 0.1%.
The diff coverage is 100.0%.

@@            Coverage Diff            @@
##           master   #31023     +/-   ##
=========================================
- Coverage    81.5%    81.5%   -0.1%     
=========================================
  Files         728      728             
  Lines      205532   205531      -1     
=========================================
- Hits       167629   167617     -12     
- Misses      37903    37914     +11     

Copy link
Contributor

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

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

lgtm

@jeffwashington jeffwashington merged commit 7edef94 into solana-labs:master Apr 3, 2023
jeffwashington added a commit to jeffwashington/solana that referenced this pull request Apr 3, 2023
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