From 420d622f83ad687d5848211f52e2e21693a44a13 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Tue, 30 Sep 2025 15:11:49 -0400 Subject: Make Project::{from_raw,ref_from_raw} pub --- rust/src/project.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rust/src') 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) -> Self { + pub unsafe fn from_raw(handle: NonNull) -> Self { Project { handle } } - pub(crate) unsafe fn ref_from_raw(handle: NonNull) -> Ref { + pub unsafe fn ref_from_raw(handle: NonNull) -> Ref { Ref::new(Self { handle }) } -- cgit v1.3.1