aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/spine.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-12-18 10:55:24 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-02-08 19:49:11 -0500
commited17763e72b7a9508432e341cb4aca1b2186d329 (patch)
treea2f98dcd0dbc309a840d6575a49518bf5cc9b5a5 /org/spine.org
parentdmd releaseMode results in runtime errors (diff)
cosmetic primarily "format"
Diffstat (limited to 'org/spine.org')
-rw-r--r--org/spine.org11
1 files changed, 3 insertions, 8 deletions
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,
);