mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-29 21:40:27 +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> {
|
||||
/// Constructs a new, "empty" `CString`.
|
||||
///
|
||||
/// Stores the first null byte as the first.
|
||||
/// Creates a new C-compatible string with a terminating null byte.
|
||||
///
|
||||
/// ```rust
|
||||
/// use heapless::CString;
|
||||
|
Loading…
x
Reference in New Issue
Block a user