We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Several FFI functions will panic if an internal operation ever returns an Err:
Err
set_builder_option
get_from_map
visit_scan_data
We should probably change their signatures to return ExternResult so the engine can decide how to handle the problem.
ExternResult
N/A - code inspection
Se should only call unwrap on a Result if we're sure it can never be Err.
unwrap
Result
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Several FFI functions will panic if an internal operation ever returns an
Err
:set_builder_option
get_from_map
visit_scan_data
We should probably change their signatures to return
ExternResult
so the engine can decide how to handle the problem.To Reproduce
N/A - code inspection
Expected behavior
Se should only call
unwrap
on aResult
if we're sure it can never beErr
.Additional context
No response
The text was updated successfully, but these errors were encountered: