summaryrefslogtreecommitdiff
path: root/rust/src/workflow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/workflow.rs')
-rw-r--r--rust/src/workflow.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/src/workflow.rs b/rust/src/workflow.rs
index ae5c8e65..7172e779 100644
--- a/rust/src/workflow.rs
+++ b/rust/src/workflow.rs
@@ -24,6 +24,7 @@ impl AnalysisContext {
Self { handle }
}
+ #[allow(unused)]
pub(crate) unsafe fn ref_from_raw(handle: NonNull<BNAnalysisContext>) -> Ref<Self> {
Ref::new(Self { handle })
}
@@ -156,6 +157,7 @@ impl Activity {
Self { handle }
}
+ #[allow(unused)]
pub(crate) unsafe fn ref_from_raw(handle: NonNull<BNActivity>) -> Ref<Self> {
Ref::new(Self { handle })
}