Skip to content

Commit

Permalink
Add lifetime bound for trait impl as required on older toolchains
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Nov 5, 2024
1 parent f643527 commit da62b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/foreign/alloc/borrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use {

impl<'a, A> Arbitrary<'a> for Cow<'a, A>
where
A: ToOwned + ?Sized,
A: ToOwned + ?Sized + 'a,
<A as ToOwned>::Owned: Arbitrary<'a>,
{
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> {
Expand Down

0 comments on commit da62b03

Please sign in to comment.