Fix into_recv_seek lifetime flow to match into_recv_get.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -450,7 +450,7 @@ pub(crate) fn into_send_seek(result: stream::State<'_>) -> stream::State<'static
|
|||||||
unsafe { std::mem::transmute(result) }
|
unsafe { std::mem::transmute(result) }
|
||||||
}
|
}
|
||||||
|
|
||||||
fn into_recv_seek(result: stream::State<'static>) -> stream::State<'_> {
|
fn into_recv_seek<'a>(result: stream::State<'static>) -> stream::State<'a> {
|
||||||
// SAFETY: This is to receive the State from the channel; see above.
|
// SAFETY: This is to receive the State from the channel; see above.
|
||||||
unsafe { std::mem::transmute(result) }
|
unsafe { std::mem::transmute(result) }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user