Skip to content

Commit edf2d43

Browse files
committed
fix output lifetimes of MaybeUninit
1 parent 381a29b commit edf2d43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/projections/maybe_uninit.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ where
2525
where
2626
Self: 'b;
2727

28-
unsafe fn project<'b>(this: *const Self) -> Self::Output<'a>
28+
unsafe fn project<'b>(this: *const Self) -> Self::Output<'b>
2929
where
3030
Self: 'b,
3131
{
@@ -45,7 +45,7 @@ where
4545
where
4646
Self: 'b;
4747

48-
unsafe fn project<'b>(this: *const Self) -> Self::Output<'a>
48+
unsafe fn project<'b>(this: *const Self) -> Self::Output<'b>
4949
where
5050
Self: 'b,
5151
{
@@ -65,7 +65,7 @@ where
6565
where
6666
Self: 'b;
6767

68-
unsafe fn project_mut<'b>(this: *mut Self) -> Self::OutputMut<'a>
68+
unsafe fn project_mut<'b>(this: *mut Self) -> Self::OutputMut<'b>
6969
where
7070
Self: 'b,
7171
{

0 commit comments

Comments
 (0)