Fix unknown feature warning
This commit is contained in:
parent
30596d9331
commit
c249549b3c
@ -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(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user