summaryrefslogtreecommitdiff
path: root/rust/src/high_level_il
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/high_level_il')
-rw-r--r--rust/src/high_level_il/operation.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/high_level_il/operation.rs b/rust/src/high_level_il/operation.rs
index 8f7e9d81..9c218227 100644
--- a/rust/src/high_level_il/operation.rs
+++ b/rust/src/high_level_il/operation.rs
@@ -20,7 +20,7 @@ impl GotoLabel {
unsafe { BnString::into_string(BNGetGotoLabelName(self.function.handle, self.target)) }
}
- fn set_name<S: IntoCStr>(&self, name: S) {
+ fn set_name(&self, name: &str) {
let raw = name.to_cstr();
unsafe {
BNSetUserGotoLabelName(
@@ -327,7 +327,7 @@ impl LiftedLabel {
self.target.name()
}
- pub fn set_name<S: IntoCStr>(&self, name: S) {
+ pub fn set_name(&self, name: &str) {
self.target.set_name(name)
}
}