Skip to content

Commit feb9928

Browse files
committed
DOC: Update changelog for length changes
1 parent fd724e0 commit feb9928

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ Recent Changes (arrayvec)
1010

1111
The New type syntax is `ArrayVec<T, CAP>` where `CAP` is the arrayvec capacity.
1212
For arraystring the syntax is `ArrayString<CAP>`.
13-
Change by @bluss.
13+
14+
Length is stored internally as u32; this limits the maximum capacity. The size
15+
of the `ArrayVec` or `ArrayString` structs for the same capacity may grow
16+
slightly compared with the previous version (depending on padding requirements
17+
for the element type). Change by @bluss.
1418

1519
- Arrayvec's `.extend()` and `FromIterator`/`.collect()` to arrayvec now
1620
**panic** if the capacity of the arrayvec is exceeded. Change by @bluss.

0 commit comments

Comments
 (0)