Fix unknown feature warning

This commit is contained in:
2025-06-25 21:25:02 +10:00
parent 30596d9331
commit c249549b3c

View File

@@ -42,7 +42,7 @@ impl lua_buf {
}
}
#[cfg(feature = "option_string_ffi")]
#[cfg(feature = "option_string_abi")]
pub(crate) fn null() -> Self {
Self {
__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 {
Self {
__ptr: ptr::null_mut(),