Closed dtolnay closed 2 years ago
This matches the approach used for serde_json's errors, and is a good fit for the formatting that appears when .unwrap() is used.
.unwrap()
Before:
UnknownAnchor( Mark { line: 1, column: 5, }, )
After:
Error("unknown anchor", line: 1, column: 5)
This matches the approach used for serde_json's errors, and is a good fit for the formatting that appears when
.unwrap()
is used.Before:
After: