aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }
}