ldanko / easyfix

MIT License
3 stars 7 forks source link

Use newtype pattern for `Str` #11

Closed ldanko closed 2 years ago

ldanko commented 2 years ago

Use newtype patter for Str to provide Display and Debug implementation for printing it as string and validate if input is valid 8859-1 encoding without control characters.

ldanko commented 2 years ago

Done in 426602f89aa9857e9f20b6c5d749bbf8047ba79b and e49d25af9230daa2d35223ed5882496b37d39bd2.