Skip to content

Commit 1463915

Browse files
bors[bot]mriise
andauthored
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 <[email protected]>
2 parents 610bf51 + 4eed6ad commit 1463915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub struct String<const N: usize> {
1010
}
1111

1212
impl<const N: usize> String<N> {
13-
/// Constructs a new, empty `String` with a fixed capacity of `N`
13+
/// Constructs a new, empty `String` with a fixed capacity of `N` bytes
1414
///
1515
/// # Examples
1616
///

0 commit comments

Comments
 (0)