File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,16 +72,14 @@ The following changes to your types are supported:
7272| Remove a variant | anywhere | at the end |
7373| Rename a variant | when numbered | always |
7474| Reorder variants | yes | no |
75- | Change between struct variant and newtype variant holding a struct | yes | yes |
76- | Change between tuple variant and newtype variant holding a tuple | yes | yes |
77- | Change between unit variant and empty tuple variant | yes | yes |
78- | Change between unit variant and empty struct variant | yes | no |
75+ | Add newtype around a struct variant | yes | yes |
76+ | Add newtype around a tuple variant | yes | yes |
7977| ** Field types** | | |
8078| Wrap in ` Recoverable ` | struct fields and newtype variants | no |
8179| Change ` bool ` to ` Option<Recoverable<T>> ` | struct fields | no |
8280| Wrap in or unwrap from a newtype struct | yes | yes |
83- | Change between tuple , tuple struct and fixed-size array | yes | yes |
84- | Change between ` Vec<(K, V)> ` and a map | yes | yes |
81+ | Swap tuples , tuple structs and fixed-size arrays | yes | yes |
82+ | Swap ` Vec<(K, V)> ` with a map | yes | yes |
8583| ** Size** | small | even smaller |
8684
8785
You can’t perform that action at this time.
0 commit comments