packed_struct.rs
packed_struct.rs copied to clipboard
Implement Error in #![no_std]
Hello, I faced an issue where PackingError does not implement error without the std feature. I am using #![no_std] and I need PackingError to implement Error. The good news is, there is no need for std to implement Error. This PR is a quick and easy fix for this problem which allows PackingError to implement Error in #![no_std].