Expand description
Small tools used in different wrappers without being actually public
Re-exportsยง
pub use slice_to_cstr::*;
riot_module_vfs
Modulesยง
Traitsยง
- Pointer
ToCStr ๐Trait that eases conversions from a char pointer (no matter the signedness, they are used inconsistently in RIOT) to a CStr. The result is often used with?.to_str().ok()?
. - Generalization of the Never type extracting workaround from https://github.com/rust-lang/rust/issues/43301#issuecomment-912390203 โ also useful to extract return types of functions that (in what is compatible behavior in C) change their return types.