From ed17763e72b7a9508432e341cb4aca1b2186d329 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 18 Dec 2019 10:55:24 -0500 Subject: cosmetic primarily "format" --- org/spine.org | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'org/spine.org') diff --git a/org/spine.org b/org/spine.org index 1ecf248..27dfdc1 100644 --- a/org/spine.org +++ b/org/spine.org @@ -735,19 +735,15 @@ auto program_info() { return program_name; } string ver() { - string ver_ = format( - "%s.%s.%s", + return format("%s.%s.%s", _ver.major, _ver.minor, _ver.patch, ); - return ver_; } string compiler() { - string ver_ = format( - "%s D:%s, %s %s", + return format ("%s D:%s, %s %s", __VENDOR__, __VERSION__, bits, os, ); - return ver_; } } return ProgramInfo(); @@ -1355,8 +1351,7 @@ struct DocumentMatters { return program_info.ver; } string name_and_version() @trusted { - return format( - "%s-%s", + return format("%s-%s", name, ver, ); -- cgit v1.2.3