aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-30 03:53:24 -0700
committerFuwn <[email protected]>2024-10-30 03:53:24 -0700
commit544e83adc662814d37154bb70f7597f7934fd63a (patch)
tree964882cd3bf2bcc1e8335f9ab4103e6b5d5876c7 /src
parentchore: bump version (diff)
downloadsenpy-ffi-544e83adc662814d37154bb70f7597f7934fd63a.tar.xz
senpy-ffi-544e83adc662814d37154bb70f7597f7934fd63a.zip
feat: remove nightly requirement
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4347966..76d6672 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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