fix: declare unreachable code as such

Those cases previously returned an error, which isn't correct as those
cases cannot be reached, hence should panic if they are reaches.
1 file changed
tree: eab48306f97f2768b260da0d6ca9edb862a14749
  1. .github/
  2. benches/
  3. core/
  4. dag-cbor/
  5. dag-cbor-derive/
  6. dag-json/
  7. dag-pb/
  8. macro/
  9. proptest-regressions/
  10. src/
  11. .editorconfig
  12. .gitignore
  13. Cargo.lock
  14. Cargo.toml
  15. LICENSE-APACHE
  16. LICENSE-MIT
  17. README.md
README.md

Rust IPLD library

Basic rust ipld library supporting dag-cbor, dag-json and dag-pb formats.

Back on OpenCollective Matrix Discord

License

Dual licensed under MIT or Apache License (Version 2.0). See LICENSE-MIT and LICENSE-APACHE for more details.