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
impl Display for Element
For example, this test:
#[test] fn print_a_typed_null() { let value: Element = element_reader().read_one("null.bool".as_bytes()).unwrap(); println!("{}", value) }
results in this output:
thread 'print_a_typed_null' panicked at 'called `Option::unwrap()` on a `None` value'
It's caused by this line: https://github.com/amzn/ion-rust/blob/aa33f0fb8b5e4965d56e48fd337b813dded32278/src/value/owned.rs#L466
It's probably a good idea to also check why it wasn't caught by any of our existing tests (particularly https://github.com/amzn/ion-rust/blob/main/tests/element_test_vectors.rs).
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
For example, this test:
results in this output:
It's caused by this line:
https://github.com/amzn/ion-rust/blob/aa33f0fb8b5e4965d56e48fd337b813dded32278/src/value/owned.rs#L466
It's probably a good idea to also check why it wasn't caught by any of our existing tests (particularly https://github.com/amzn/ion-rust/blob/main/tests/element_test_vectors.rs).
The text was updated successfully, but these errors were encountered: