summaryrefslogtreecommitdiff
path: root/rust/src/function.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/function.rs')
-rw-r--r--rust/src/function.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/function.rs b/rust/src/function.rs
index ec83fa41..41c3a973 100644
--- a/rust/src/function.rs
+++ b/rust/src/function.rs
@@ -230,7 +230,7 @@ impl Function {
}
}
- pub fn set_user_type(&self, t: &Type) {
+ pub fn set_user_type(&self, t: Type) {
unsafe {
BNSetFunctionUserType(self.handle, t.handle);
}