Update src/c_string.rs

Co-authored-by: Markus Reiter <me@reitermark.us>
This commit is contained in:
Yota Toyama 2025-04-11 06:43:45 +08:00 committed by GitHub
parent d5e2a5b837
commit b2d201167c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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