Doctests can only test public API, so now that the Codec is private, we can't have a doctest. Since this test was only a code example (no behaviour test), there's no value in replacing it with a unit test. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
Doctests can only test public API, so now that the Codec is private, we can't have a doctest. Since this test was only a code example (no behaviour test), there's no value in replacing it with a unit test. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||