diff options
| author | Fuwn <[email protected]> | 2024-10-30 03:53:24 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-30 03:53:24 -0700 |
| commit | 544e83adc662814d37154bb70f7597f7934fd63a (patch) | |
| tree | 964882cd3bf2bcc1e8335f9ab4103e6b5d5876c7 /src | |
| parent | chore: bump version (diff) | |
| download | senpy-ffi-544e83adc662814d37154bb70f7597f7934fd63a.tar.xz senpy-ffi-544e83adc662814d37154bb70f7597f7934fd63a.zip | |
feat: remove nightly requirement
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -18,7 +18,6 @@ //! FFI bindings for [`senpy-rs`](https://github.com/senpy-club/senpy-rs) -#![feature(trivial_bounds)] #![deny( warnings, nonstandard_style, @@ -196,7 +195,7 @@ pub unsafe extern "C" fn random_free(random: *mut Random) { return; } - Box::from_raw(random); + drop(Box::from_raw(random)); } /// Returns `1` if up, returns `0` if down, and returns `-1` if the request |