Skip to content

Commit

Permalink
cow lifetime no longer needs to be static
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Nov 23, 2020
1 parent 7bc17a1 commit 08e939d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -748,8 +748,7 @@ impl<'a, A: Arbitrary<'a>> Arbitrary<'a> for VecDeque<A> {
}
}

// TODO: change 'static to 'a?
impl<'a, A> Arbitrary<'a> for Cow<'static, A>
impl<'a, A> Arbitrary<'a> for Cow<'a, A>
where
A: ToOwned + ?Sized,
<A as ToOwned>::Owned: Arbitrary<'a>,
Expand Down

0 comments on commit 08e939d

Please sign in to comment.