aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-22 00:05:53 +0200
committerRobin Krahl <robin.krahl@ireas.org>2020-09-22 00:05:53 +0200
commit6a94c70a2224212e2310927aec7b512d562ee455 (patch)
tree6d205fbee84f2786abb00c1da5c7b2549e39f260 /CHANGELOG.md
parent5df790a77a8c81b58e7507e8da5d9ac4975a64f8 (diff)
downloadnitrokey-rs-next.tar.gz
nitrokey-rs-next.tar.bz2
Rename *lock fields of the Config structnext
libnitrokey calls the configuration fields that set bindings for the Num Lock, Caps Lock and Scroll Lock keys numlock, capslock, scrolllock. Due to a typo, scrolllock with three l was renamed to scrollock with two l in nitrokey-rs. To make the field names easier to read (and type) and consistent with the typical names for these keys, this patch changes them to num_lock, caps_lock and scroll_lock. In the doc comments, we now use the spelling “Num Lock”, “Caps Lock” and “Scroll Lock”.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d2d35cc..275ea81 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,8 @@ SPDX-License-Identifier: CC0-1.0
- Mark the `Error`, `CommandError`, `CommunicationError`, `LibraryError`,
`Model` and `DeviceWrapper` enums as non-exhaustive.
- Bump the MSRV to 1.40.0.
+- Rename the `numlock`, `capslock`, `scrollock` fields of the `Config` struct
+ to `num_lock`, `caps_lock`, `scroll_lock`.
# v0.7.1 (2020-08-30)
- Remove the custom `std::error::Error::source` implementation for