summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/project.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/project.rs b/rust/src/project.rs
index 4f91010d..f47c472a 100644
--- a/rust/src/project.rs
+++ b/rust/src/project.rs
@@ -21,11 +21,11 @@ pub struct Project {
}
impl Project {
- pub(crate) unsafe fn from_raw(handle: NonNull<BNProject>) -> Self {
+ pub unsafe fn from_raw(handle: NonNull<BNProject>) -> Self {
Project { handle }
}
- pub(crate) unsafe fn ref_from_raw(handle: NonNull<BNProject>) -> Ref<Self> {
+ pub unsafe fn ref_from_raw(handle: NonNull<BNProject>) -> Ref<Self> {
Ref::new(Self { handle })
}