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

Panic on unwrapping of Err value #2

neosilky opened this issue Mar 28, 2017 · 0 comments


None yet
1 participant
Copy link

commented Mar 28, 2017

Found using cargo-fuzz.

This library panics at src/ if the file path requested does not exist.

Whilst in theory this is correct, I think the library should return a Result to indicate success or failure. Of course, this means changing the API.

As a side note, if changing the API is okay, it might be a good idea to switch to taking a PathBuf reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.