diff options
Diffstat (limited to 'rust/src/low_level_il.rs')
| -rw-r--r-- | rust/src/low_level_il.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<R: ArchReg> LowLevelILRegisterKind<R> { } } - pub fn name(&self) -> Cow<str> { + pub fn name(&self) -> Cow<'_, str> { match *self { LowLevelILRegisterKind::Arch(ref r) => r.name(), LowLevelILRegisterKind::Temp(temp) => Cow::Owned(format!("temp{}", temp.temp_id)), |
