diff options
author | Cyril Plisko <cyril.plisko@mountall.com> | 2025-03-04 20:04:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-04 12:04:08 -0600 |
commit | 4dd54a17c4a1b70d2cbf9891c2122994fcec71af (patch) | |
tree | 7309eb3f6609634517b8bcd04eef78e6d687d3b4 /examples | |
parent | 776843be76e58c2045e2f80e75a72bfd9cac9d83 (diff) |
clippy::multiple_bound_locations (#103)
* clippy::multiple_bound_locations
* A few more clippy fixes.
---------
Co-authored-by: Sam Scott <sam@osohq.com>
Diffstat (limited to 'examples')
-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 { |