diff options
| author | Vincent Prouillet | 2017-01-19 13:57:42 +0900 |
|---|---|---|
| committer | Vincent Prouillet | 2017-01-19 13:57:42 +0900 |
| commit | 1014ac364725386579ecbd21a520a9d3eb56979e (patch) | |
| tree | 14491107ad956ad959d1e6a14da03f8255db041e | |
| parent | f0d905a77c2d546ae99e26818cd1a7ddec9f0c70 (diff) | |
| download | validator-1014ac364725386579ecbd21a520a9d3eb56979e.tar.bz2 | |
Ignore unused val in test
| -rw-r--r-- | validator_derive/tests/test_derive.rs | 2 |
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 } |
