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

Bump nix, rand, and more #164

Merged
merged 1 commit into from
Dec 6, 2021
Merged

Bump nix, rand, and more #164

merged 1 commit into from
Dec 6, 2021

Conversation

PsiACE
Copy link
Contributor

@PsiACE PsiACE commented Dec 5, 2021

Signed-off-by: Chojan Shang psiace@outlook.com

Signed-off-by: Chojan Shang <psiace@outlook.com>
Copy link
Member

@tabokie tabokie left a comment

Choose a reason for hiding this comment

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

Thanks! Rest looks good.

e => std::io::Error::new(std::io::ErrorKind::Other, format!("{}: {:?}", custom, e)),
}
let kind = std::io::Error::from(e).kind();
std::io::Error::new(kind, custom)
Copy link
Member

Choose a reason for hiding this comment

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

Handle the case where kind == Other?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In nix 0.23, all error types have been unified to Errno, and it appears that the Other kind no longer needs to be handled

Copy link
Member

Choose a reason for hiding this comment

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

I see.

@codecov
Copy link

codecov bot commented Dec 6, 2021

Codecov Report

Merging #164 (6b96b2d) into master (e87faf7) will increase coverage by 0.02%.
The diff coverage is 84.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #164      +/-   ##
==========================================
+ Coverage   96.96%   96.99%   +0.02%     
==========================================
  Files          26       26              
  Lines        6597     6594       -3     
==========================================
- Hits         6397     6396       -1     
+ Misses        200      198       -2     
Impacted Files Coverage Δ
src/file_pipe_log/log_file.rs 95.71% <84.61%> (+0.33%) ⬆️
src/codec.rs 98.67% <0.00%> (+0.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e87faf7...6b96b2d. Read the comment docs.

@tabokie tabokie merged commit 5d3c072 into tikv:master Dec 6, 2021
@PsiACE PsiACE deleted the bump-nix branch December 6, 2021 03:15
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