diff options
| author | Teddy Wing | 2018-10-23 15:43:28 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-10-23 15:43:28 +0200 |
| commit | c7a4a028cbeda1eb50e71b92b0c725d1d0cb02c9 (patch) | |
| tree | 12d1efa3b8933a73f3d44f4d587b7edf02b56095 /src | |
| parent | b419ee9c6809d1e4081c885380fbf8c8103dad49 (diff) | |
| download | dome-key-map-c7a4a028cbeda1eb50e71b92b0c725d1d0cb02c9.tar.bz2 | |
error_chain!::foreign_links: Reorder `ErrorKind` definitions
Order them like imports, with `std` errors first, followed by extern
crate errors, followed by local errors, alphabetically.
Diffstat (limited to 'src')
| -rw-r--r-- | src/errors.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs index 75079e3..f7f3d79 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -4,9 +4,10 @@ use xdg; error_chain! { foreign_links { - Xdg(xdg::BaseDirectoriesError); Io(::std::io::Error); + Xdg(xdg::BaseDirectoriesError); + DateCrypt(DateCryptError); Duration(DurationError); } |
