Rust - Improve TruncationError

This commit is contained in:
Anthony MOI
2020-04-24 11:53:30 -04:00
parent 7d2b59b0aa
commit 02cc97756f
3 changed files with 30 additions and 8 deletions

View File

@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Changed
- Improved errors generated during truncation: When the provided max length is too low are
now handled properly.
## [0.7.0]
### Changed