8000 Small changes to fix some warnings by frumioj · Pull Request #57 · sekey/sekey · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Small changes to fix some warnings #57

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

frumioj
Copy link
@frumioj frumioj commented Feb 1, 2021

I found some warnings when I built the project (rustc 1.49-beta3 on MacOS BigSur).

One of them seems to be because the use of env:home_dir is deprecated in favour (so far) of the 'home' crate with the same function name. The other warning appears to be because write_all can return an error if an individual write fails, which means the code was ignoring a result, so I added an 'expect' to each of the write_all calls.

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.

1 participant
0