aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-12 14:53:51 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-12 16:03:16 +0100
commitd70e102be6a84ab23a95e2099571bf21fc6c19a5 (patch)
tree1f7cbb823d3a3eb5cddbb8c2961f54045fb49fdf /src
parentd5936e9349dd244222d5b4c4f2f88d442bba40d3 (diff)
downloadnitrokey-rs-d70e102be6a84ab23a95e2099571bf21fc6c19a5.tar.gz
nitrokey-rs-d70e102be6a84ab23a95e2099571bf21fc6c19a5.tar.bz2
Fix formatting in get_library_version
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 5b7ada1..6c5d739 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -163,9 +163,5 @@ pub fn get_library_version() -> Version {
};
let major = unsafe { nitrokey_sys::NK_get_major_library_version() };
let minor = unsafe { nitrokey_sys::NK_get_minor_library_version() };
- Version {
- git,
- major,
- minor,
- }
+ Version { git, major, minor }
}