aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-27 13:31:36 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-27 13:31:36 +0000
commita30562638aed90d113739bb36dd6814f6cf7ace2 (patch)
tree3baf09f049b0cc7574d919c2dead8b837492e1d4 /CHANGELOG.md
parent04220982d4808c402b1a5cdda2b83e81f099a1ad (diff)
downloadnitrokey-rs-a30562638aed90d113739bb36dd6814f6cf7ace2.tar.gz
nitrokey-rs-a30562638aed90d113739bb36dd6814f6cf7ace2.tar.bz2
Remove the Result typedef
Many of our functions do not return a Result<_, Error>, but for example a Result<_, (Device, Error)>. We only use the typedef in one function, but it makes the other functions more complicated as we have to use result::Result (if crate::Result is imported). Therefore, this patch removes the typedef. Applications or libraries can still redefine it if they want to.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b9983ed..271230d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,7 +9,7 @@ SPDX-License-Identifier: MIT
- Introduce `DEFAULT_ADMIN_PIN` and `DEFAULT_USER_PIN` constants.
- Refactor the error handling code:
- Implement `std::error::Error` for `CommandError`.
- - Add the `Error` enum and the `Result` typedef.
+ - Add the `Error` enum.
- Add the `LibraryError` enum and move the library error variants from
`CommandError` to `LibraryError`.
- Add the `CommunicationError` enum and move the communication error variants