Skip to content

Commit 5673550

Browse files
committed
README: streamline compatibility
1 parent 8a2e51e commit 5673550

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)