summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCyril Plisko <cyril.plisko@mountall.com>2025-03-04 20:04:08 +0200
committerGitHub <noreply@github.com>2025-03-04 12:04:08 -0600
commit4dd54a17c4a1b70d2cbf9891c2122994fcec71af (patch)
tree7309eb3f6609634517b8bcd04eef78e6d687d3b4 /examples
parent776843be76e58c2045e2f80e75a72bfd9cac9d83 (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.rs2
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
{