aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/spine.d
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 /src/doc_reform/spine.d
parentdmd releaseMode results in runtime errors (diff)
cosmetic primarily "format"
Diffstat (limited to 'src/doc_reform/spine.d')
-rwxr-xr-xsrc/doc_reform/spine.d8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/doc_reform/spine.d b/src/doc_reform/spine.d
index 134854e..8108acb 100755
--- a/src/doc_reform/spine.d
+++ b/src/doc_reform/spine.d
@@ -514,19 +514,15 @@ void main(string[] args) {
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();