diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-12 14:53:51 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-12 16:03:16 +0100 |
commit | d70e102be6a84ab23a95e2099571bf21fc6c19a5 (patch) | |
tree | 1f7cbb823d3a3eb5cddbb8c2961f54045fb49fdf | |
parent | d5936e9349dd244222d5b4c4f2f88d442bba40d3 (diff) | |
download | nitrokey-rs-d70e102be6a84ab23a95e2099571bf21fc6c19a5.tar.gz nitrokey-rs-d70e102be6a84ab23a95e2099571bf21fc6c19a5.tar.bz2 |
Fix formatting in get_library_version
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 } } |