From 544e83adc662814d37154bb70f7597f7934fd63a Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 30 Oct 2024 03:53:24 -0700 Subject: feat: remove nightly requirement --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3