File tree 1 file changed +9
-4
lines changed 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,22 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ ) and this project
6
6
adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
7
7
8
+ ## [ Unreleased]
9
+
10
+ - When ` InlineArray ` cannot hold any values because of misalignment, report it as capacity 0
11
+ instead of panicking at runtime. (#22 )
12
+
8
13
## [ 0.6.4] - 2021-02-17
9
14
10
15
### FIXED
11
16
12
- - ` InlineArray ` can be used in recursive types again.
17
+ - ` InlineArray ` can be used in recursive types again.
13
18
14
19
### CHANGED
15
20
16
- - ` InlineArray::new() ` now panics when it can't store elements with large alignment
17
- (this was UB prior to 0.6.3). Alignments of ` usize ` and smaller are always supported.
18
- Larger alignments are supported if the capacity-providing type has sufficient alignment.
21
+ - ` InlineArray::new() ` now panics when it can't store elements with large alignment (this was UB
22
+ prior to 0.6.3). Alignments of ` usize ` and smaller are always supported. Larger alignments are
23
+ supported if the capacity-providing type has sufficient alignment.
19
24
20
25
## [ 0.6.3] - 2021-02-14
21
26
You can’t perform that action at this time.
0 commit comments