Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use assert_eq for encoded data length check
According to the Rust docs for `debug_assert` it should only be used if there a proved performance costs to using `assert`. Checking the length of a vector is fast, therefore its unlikely that using `assert_eq` will have any noticeable performance costs.
- Loading branch information