diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-09-22 00:05:53 +0200 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2020-09-22 00:05:53 +0200 |
commit | 6a94c70a2224212e2310927aec7b512d562ee455 (patch) | |
tree | 6d205fbee84f2786abb00c1da5c7b2549e39f260 /tests/lib.rs | |
parent | 5df790a77a8c81b58e7507e8da5d9ac4975a64f8 (diff) | |
download | nitrokey-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 'tests/lib.rs')
0 files changed, 0 insertions, 0 deletions