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 | |
| parent | chore: bump version (diff) | |
| download | senpy-ffi-544e83adc662814d37154bb70f7597f7934fd63a.tar.xz senpy-ffi-544e83adc662814d37154bb70f7597f7934fd63a.zip | |
feat: remove nightly requirement
| -rw-r--r-- | rust-toolchain.toml | 2 | ||||
| -rw-r--r-- | src/lib.rs | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/rust-toolchain.toml b/rust-toolchain.toml deleted file mode 100644 index 22a9829..0000000 --- a/rust-toolchain.toml +++ /dev/null @@ -1,2 +0,0 @@ -[toolchain] -channel = "nightly-2022-02-22" @@ -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 |