aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-error/src/misc.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-error: Tidy up use of thiserror::ErrorIan Jackson2022-10-241-2/+4
| | | | | | | | 1. Import it, as we do elsewhere, and use that import. 2. Use thiserror to generate the Display impl, rather than derive_more, as we do for errors elsewhere. (tor_error still needs derive_more::Display for ErrorKind.)
* tor-error: Rename truncated module to miscIan Jackson2022-10-241-0/+22
This has no external API change, but makes space for other miscellaneous errors to arrive later.