From fd5a89e174e01b0adb089dcf8f6da36cf5008443 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Mon, 29 Sep 2025 14:53:05 -0400 Subject: Fix rust warnings about lifetimes introduced by 1.89.0 --- rust/src/low_level_il.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/low_level_il.rs') diff --git a/rust/src/low_level_il.rs b/rust/src/low_level_il.rs index 010fa0bc..bb4614ae 100644 --- a/rust/src/low_level_il.rs +++ b/rust/src/low_level_il.rs @@ -134,7 +134,7 @@ impl LowLevelILRegisterKind { } } - pub fn name(&self) -> Cow { + pub fn name(&self) -> Cow<'_, str> { match *self { LowLevelILRegisterKind::Arch(ref r) => r.name(), LowLevelILRegisterKind::Temp(temp) => Cow::Owned(format!("temp{}", temp.temp_id)), -- cgit v1.3.1