diff options
Diffstat (limited to 'examples/csv_vectors.rs')
-rw-r--r-- | examples/csv_vectors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/csv_vectors.rs b/examples/csv_vectors.rs index 9d5e0ea..2e44566 100644 --- a/examples/csv_vectors.rs +++ b/examples/csv_vectors.rs @@ -48,7 +48,7 @@ impl<T: DeserializeOwned + std::str::FromStr> Default for CSVVecVisitor<T> { } } -impl<'de, T: DeserializeOwned + std::str::FromStr> serde::de::Visitor<'de> for CSVVecVisitor<T> +impl<T: DeserializeOwned + std::str::FromStr> serde::de::Visitor<'_> for CSVVecVisitor<T> where <T as std::str::FromStr>::Err: std::fmt::Debug, // handle the parse error in a generic way { |