Commit 0ac4d0c
committed
fix(header-serde): propagate train() Result in trainer binary
Now that dict::train() returns Result<Vec<u8>>, change main() to return
Result<(), Box<dyn std::error::Error>> so the error propagates to the
OS exit code instead of being silently ignored.1 parent 6791a0d commit 0ac4d0c
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
0 commit comments