We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5c838f commit 2383ca4Copy full SHA for 2383ca4
src/private/cstr.rs
@@ -68,7 +68,7 @@ impl Default for RawCstrs {
68
}
69
70
#[cfg(feature = "alloc")]
71
-pub fn nul_to_invalid_arg(err: alloc::ffi::NulError) -> esp_idf_sys::EspError {
+pub fn nul_to_invalid_arg(_err: alloc::ffi::NulError) -> esp_idf_sys::EspError {
72
esp_idf_sys::EspError::from_non_zero(
73
core::num::NonZeroI32::new(esp_idf_sys::ESP_ERR_INVALID_ARG).unwrap(),
74
)
0 commit comments