From 7cae6d997d177f4436ed8d20cd0e32114549b247 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Thu, 2 Oct 2025 17:19:14 +0200 Subject: [PATCH] rusticl/mesa: remove unnecessary lifetimes Part-of: --- src/gallium/frontends/rusticl/mesa/pipe/screen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/rusticl/mesa/pipe/screen.rs b/src/gallium/frontends/rusticl/mesa/pipe/screen.rs index ca8f94cb3d7..7b79535f21f 100644 --- a/src/gallium/frontends/rusticl/mesa/pipe/screen.rs +++ b/src/gallium/frontends/rusticl/mesa/pipe/screen.rs @@ -156,7 +156,7 @@ impl PipeScreenOwned { /// `screen` must be equivalent to a pointer retrieved via [PipeScreenOwned::into_raw]. /// This function does not increase reference count; use with a pointer not accounted /// for in the reference count could lead to undefined behavior. - pub(super) unsafe fn from_raw<'s>(screen: *mut pipe_screen) -> Self { + pub(super) unsafe fn from_raw(screen: *mut pipe_screen) -> Self { // SAFETY: PipeScreenOwned is transparent over *mut pipe_screen unsafe { mem::transmute(screen) } }