aboutsummaryrefslogtreecommitdiffstats
path: root/validator_derive
diff options
context:
space:
mode:
Diffstat (limited to 'validator_derive')
-rw-r--r--validator_derive/tests/test_derive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/validator_derive/tests/test_derive.rs b/validator_derive/tests/test_derive.rs
index d456be6..24c408a 100644
--- a/validator_derive/tests/test_derive.rs
+++ b/validator_derive/tests/test_derive.rs
@@ -297,7 +297,7 @@ fn test_can_validate_option_fields_with_lifetime() {
custom: Option<&'a str>,
}
- fn check_str(val: &str) -> Option<String> {
+ fn check_str(_: &str) -> Option<String> {
None
}