fix into file size (trim string before trying to convert)
and fix tests
Tests
Make sure you've run and fixed any issues with these commands:
[x] cargo fmt --all -- --check to check standard code formatting (cargo fmt --all applies these changes)
[ ] cargo clippy --all --all-features -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect to check that you're using the standard code style
[x] cargo build; cargo test --all --all-features to check that all the tests pass
Description
fix into file size (trim string before trying to convert) and fix tests
Tests
Make sure you've run and fixed any issues with these commands:
cargo fmt --all -- --check
to check standard code formatting (cargo fmt --all
applies these changes)cargo clippy --all --all-features -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect
to check that you're using the standard code stylecargo build; cargo test --all --all-features
to check that all the tests pass