This repository was archived by the owner on Aug 27, 2025. It is now read-only.
Commit 1e7454c
committed
Mark DecodeError and EncodeError as non_exhaustive
Adding `#[non_exhaustive]` to `DecodeError` and `EncodeError`, so
adding new enum variant will not breaking API.
Signed-off-by: Gris Ge <[email protected]>1 parent 0353682 commit 1e7454c
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
0 commit comments