From 0ea63f79374662f2415dcecce30b8d583ff3274a Mon Sep 17 00:00:00 2001 From: Avril Date: Tue, 4 Aug 2020 01:59:51 +0100 Subject: [PATCH] comptime concat --- Cargo.toml | 2 +- src/args.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index eef1425..8aaa3fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lolistealer" -version = "1.3.0" +version = "1.3.1" authors = ["Avril "] edition = "2018" license = "gpl-3.0-or-later" diff --git a/src/args.rs b/src/args.rs index 05cf093..78ded30 100644 --- a/src/args.rs +++ b/src/args.rs @@ -17,8 +17,8 @@ lazy_static! { /// Print usage then exit with code `1` pub fn usage() -> ! { - println!("lolistealer version {}", env!("CARGO_PKG_VERSION")); - println!(" written by {} with <3", env!("CARGO_PKG_AUTHORS")); + println!(concat!("lolistealer version ", env!("CARGO_PKG_VERSION"))); + println!(concat!(" written by ",env!("CARGO_PKG_AUTHORS")," with <3")); println!(" licensed with GNU GPL 3.0 or later\n"); println!("Usage: {} [-q] [--rating ] [--tags ] []", &PROGRAM_NAME[..]); println!("Usage: {} --help", &PROGRAM_NAME[..]);