Fix into_recv_seek lifetime flow to match into_recv_get.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-07-07 02:58:00 +00:00
parent 79ee7838e7
commit 8a748e02df

View File

@@ -450,7 +450,7 @@ pub(crate) fn into_send_seek(result: stream::State<'_>) -> stream::State<'static
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.
unsafe { std::mem::transmute(result) }
}