From 534c3bc85860d2c14a490cf68ea1174cb9edbfde Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Wed, 10 Feb 2021 22:04:29 +0000 Subject: Better type support --- rust/src/architecture.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/architecture.rs') diff --git a/rust/src/architecture.rs b/rust/src/architecture.rs index 5db7232c..960dc740 100644 --- a/rust/src/architecture.rs +++ b/rust/src/architecture.rs @@ -1164,7 +1164,7 @@ macro_rules! cc_func { if cc.is_null() { None } else { - Some(Ref::new(CallingConvention::from_raw(cc, self.handle()))) + Some(CallingConvention::ref_from_raw(cc, self.handle())) } } } -- cgit v1.3.1