fix: remove destroy_string

This commit is contained in:
kaichaosun 2026-03-02 12:06:45 +08:00
parent 030ab475be
commit 10a403e6fa
No known key found for this signature in database
GPG Key ID: 223E0F992F4F03BF

View File

@ -6,8 +6,3 @@ pub struct CResult<T: ReprC, Err: ReprC> {
pub ok: Option<T>, pub ok: Option<T>,
pub err: Option<Err>, pub err: Option<Err>,
} }
#[ffi_export]
pub fn destroy_string(s: repr_c::String) {
drop(s);
}