diff --git a/.pick_status.json b/.pick_status.json index 8e6cc4c1865..38691591d94 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -3484,7 +3484,7 @@ "description": "rusticl/ptr: Fix hidden lifetime warning", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/frontends/rusticl/util/ptr.rs b/src/gallium/frontends/rusticl/util/ptr.rs index 4d2f24ff415..a74b4d87164 100644 --- a/src/gallium/frontends/rusticl/util/ptr.rs +++ b/src/gallium/frontends/rusticl/util/ptr.rs @@ -196,7 +196,7 @@ where self.ptrs.contains_key(&ptr) } - pub fn entry(&mut self, ptr: P) -> Entry
{ + pub fn entry(&mut self, ptr: P) -> Entry<'_, P, T> { self.ptrs.entry(ptr) }