TedDriggs / darling

A Rust proc-macro attribute parser
MIT License
983 stars 66 forks source link

Add support for non-zero integers. #288

Closed mpapierski closed 4 months ago

mpapierski commented 4 months ago

This PR adds support for NonZero types from the standard library. I needed a way to perform some basic validation of a user input and ensure that the passed value is not a zero.