Keats / validator

Simple validation for Rust structs
MIT License
2.03k stars 147 forks source link

allow single_use_lifetimes lint #223

Closed DXist closed 2 years ago

DXist commented 2 years ago

I set warn level for single_use_lifetimes rustc lint in my project.

This lint triggers for structs that don't have references and derive Validate trait.

The fix allows to have single use of the 'v_a lifetime.