From 4dd54a17c4a1b70d2cbf9891c2122994fcec71af Mon Sep 17 00:00:00 2001 From: Cyril Plisko Date: Tue, 4 Mar 2025 20:04:08 +0200 Subject: clippy::multiple_bound_locations (#103) * clippy::multiple_bound_locations * A few more clippy fixes. --------- Co-authored-by: Sam Scott --- examples/csv_vectors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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 Default for CSVVecVisitor { } } -impl<'de, T: DeserializeOwned + std::str::FromStr> serde::de::Visitor<'de> for CSVVecVisitor +impl serde::de::Visitor<'_> for CSVVecVisitor where ::Err: std::fmt::Debug, // handle the parse error in a generic way { -- cgit v1.2.3