aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-19 23:15:33 +0200
committerRobin Krahl <robin.krahl@ireas.org>2020-09-20 11:50:37 +0200
commit655b823d13acbb71bb1496df29a9008e1b0ee9a2 (patch)
treeca62d77511701faf5dfd054c61e753698aeec2a4 /Makefile
parente9a06bb9a2802a5ae6011fcd96cf54e1cfc7d311 (diff)
downloadnitrokey-sys-rs-655b823d13acbb71bb1496df29a9008e1b0ee9a2.tar.gz
nitrokey-sys-rs-655b823d13acbb71bb1496df29a9008e1b0ee9a2.tar.bz2
Implement Display for Version in build.rs
Previously, we implemented the std::string::ToString trait for the Version enum in build.rs for converting the libnitrokey version number to a string. This patch replaces this implementation with an implementation of the std::fmt::Display trait, which automatically generates a ToString implementation and is more idiomatic.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions