Skip to content

Commit

Permalink
test: add test for default type pamameters (#300)
Browse files Browse the repository at this point in the history
Co-authored-by: Ch.-David Blot <charles-david.blot@orange.com>
  • Loading branch information
jobs62 and jobs62 committed Mar 9, 2024
1 parent 503216c commit 1ddaf69
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
use validator::Validate;

#[derive(Validate)]
struct Test<T = ()> {
a: T,
}

fn main() {}

0 comments on commit 1ddaf69

Please sign in to comment.