We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2531947 commit 639f586Copy full SHA for 639f586
src/lib.rs
@@ -184,7 +184,7 @@ pub enum DefaultExpected<'a, T> {
184
impl<T> DefaultExpected<'_, T> {
185
/// Convert this [`DefaultExpected`] into an owned version of itself, cloning any inner references if required.
186
#[inline]
187
- pub fn into_owned(self) -> DefaultExpected<'static, T>
+ pub fn into_owned<'b>(self) -> DefaultExpected<'b, T>
188
where
189
T: Clone,
190
{
0 commit comments