v2.1.0
See the blog post for this release that describes some of the most notable changes in detail. This post is available on the platform of your choice:
Added
#[must_use]on thebuild()method for structs andcall()for functions (if the original function has#[must_use]) (#82). Thanks @EdJoPaTo for the contribution!
Changed
- Optimize
bon's generated code type-checking performance and improve error messages (#84) - Improve builder() method docs (#76). Thanks @EdJoPaTo for the contribution!
Fixed
- Don't warn on
clippy::impl_trait_in_params(#80). Thanks @EdJoPaTo for the contribution! - Fix typos in messages and code comments (#79). Thanks @EdJoPaTo for the contribution!
Other
- Add more tests for
#[must_use](#87)