mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-28 04:50:34 +00:00
Update src/c_string.rs
Co-authored-by: Markus Reiter <me@reitermark.us>
This commit is contained in:
parent
d5e2a5b837
commit
b2d201167c
@ -22,7 +22,6 @@ impl<const N: usize> CString<N> {
|
||||
/// Creates a new C-compatible string with a terminating nul byte.
|
||||
///
|
||||
/// ```rust
|
||||
/// use core::ffi::CStr;
|
||||
/// use heapless::CString;
|
||||
///
|
||||
/// // A fixed-size `CString` that can store up to 10 characters
|
||||
|
Loading…
x
Reference in New Issue
Block a user