diff options
author | Justus Winter <justus@pep-project.org> | 2017-12-15 12:21:29 +0100 |
---|---|---|
committer | Justus Winter <justus@pep-project.org> | 2017-12-19 12:14:56 +0100 |
commit | f1530990eae68e54f9a0a49ac2aa23bb4c882598 (patch) | |
tree | 226b1453b0d2ba6d2ca500c19344b40355462fb3 | |
parent | 3220e59a36767e3d0460a279fd174d2251df8950 (diff) |
Make the Result types public.
-rw-r--r-- | net/src/lib.rs | 3 | ||||
-rw-r--r-- | openpgp/src/tpk.rs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/net/src/lib.rs b/net/src/lib.rs index b0e10a71..2537fee8 100644 --- a/net/src/lib.rs +++ b/net/src/lib.rs @@ -237,7 +237,8 @@ impl AClient for Client<HttpsConnector<HttpConnector>> { } } -type Result<T> = ::std::result::Result<T, Error>; +/// Results for sequoia-net. +pub type Result<T> = ::std::result::Result<T, Error>; /// Errors returned from the network routines. #[derive(Debug)] diff --git a/openpgp/src/tpk.rs b/openpgp/src/tpk.rs index b7725c21..e0da03ba 100644 --- a/openpgp/src/tpk.rs +++ b/openpgp/src/tpk.rs @@ -285,7 +285,8 @@ impl TPK { } } -type Result<T> = ::std::result::Result<T, Error>; +/// Results for TPK. +pub type Result<T> = ::std::result::Result<T, Error>; /// Errors returned from the key routines. #[derive(Debug)] |