Skip to content

Commit

Permalink
only require Deserialize<'de>
Browse files Browse the repository at this point in the history
this is necessary to avoid breakage in future
Rust versions. For more details, see
rust-lang/rust#119820.
  • Loading branch information
lcnr authored and jmeggitt committed Jun 16, 2024
1 parent b462caf commit 4e36ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ impl FlatField {
Span::call_site(),
);
let deserialize_bound = LitStr::new(
&format!("{}: ::serde::de::DeserializeOwned", &ty_tokens),
&format!("{}: ::serde::de::Deserialize<'de>", &ty_tokens),
Span::call_site(),
);

Expand Down

0 comments on commit 4e36ed6

Please sign in to comment.