mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-30 05:50:29 +00:00
Refactor documentation
This commit is contained in:
parent
4b39561a6c
commit
4644d8b16e
@ -25,9 +25,7 @@ fn memchr(needle: u8, haystack: &[u8]) -> Option<usize> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<const N: usize> CString<N> {
|
impl<const N: usize> CString<N> {
|
||||||
/// Constructs a new, "empty" `CString`.
|
/// Creates a new C-compatible string with a terminating null byte.
|
||||||
///
|
|
||||||
/// Stores the first null byte as the first.
|
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// use heapless::CString;
|
/// use heapless::CString;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user