mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-27 12:30:35 +00:00
Merge #302
302: Add clarification in String r=japaric a=mriise Needed to look into implementation to be sure String was allocating bytes not chars. Co-authored-by: Melanie Riise <me@mriise.net>
This commit is contained in:
commit
1463915689
@ -10,7 +10,7 @@ pub struct String<const N: usize> {
|
||||
}
|
||||
|
||||
impl<const N: usize> String<N> {
|
||||
/// Constructs a new, empty `String` with a fixed capacity of `N`
|
||||
/// Constructs a new, empty `String` with a fixed capacity of `N` bytes
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user