Fix unknown feature warning

This commit is contained in:
lumi 2025-06-25 21:25:02 +10:00
parent 30596d9331
commit c249549b3c
Signed by: luaneko
GPG Key ID: 406809B8763FF07A

View File

@ -42,7 +42,7 @@ impl lua_buf {
} }
} }
#[cfg(feature = "option_string_ffi")] #[cfg(feature = "option_string_abi")]
pub(crate) fn null() -> Self { pub(crate) fn null() -> Self {
Self { Self {
__ptr: ptr::null(), __ptr: ptr::null(),
@ -72,7 +72,7 @@ impl lua_buffer {
} }
} }
#[cfg(feature = "option_string_ffi")] #[cfg(feature = "option_string_abi")]
pub(crate) fn null() -> Self { pub(crate) fn null() -> Self {
Self { Self {
__ptr: ptr::null_mut(), __ptr: ptr::null_mut(),