diff options
| author | Mason Reed <mason@vector35.com> | 2025-01-31 13:11:41 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-07-02 01:56:53 -0400 |
| commit | f8aaf21991c2a5adcdca56f3638f321b2ccbe809 (patch) | |
| tree | 12f9b3c164e6d71cd26fc97c11f160fc0363ed6b /rust/src/rc.rs | |
| parent | 4889870837219897480070354656984723887637 (diff) | |
[Rust] Make some core handles public
This is a requirement if we want rust plugins to expose sane FFIs
Diffstat (limited to 'rust/src/rc.rs')
| -rw-r--r-- | rust/src/rc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/rc.rs b/rust/src/rc.rs index 84168876..f6abb036 100644 --- a/rust/src/rc.rs +++ b/rust/src/rc.rs @@ -55,7 +55,7 @@ impl<T: RefCountable> Ref<T> { Self { contents } } - pub(crate) unsafe fn into_raw(obj: Self) -> T { + pub unsafe fn into_raw(obj: Self) -> T { let res = ptr::read(&obj.contents); mem::forget(obj); res |
