aboutsummaryrefslogtreecommitdiff
path: root/source/util.d
diff options
context:
space:
mode:
Diffstat (limited to 'source/util.d')
-rw-r--r--source/util.d4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/util.d b/source/util.d
index 1d0abf1..3624d88 100644
--- a/source/util.d
+++ b/source/util.d
@@ -82,7 +82,6 @@ string safe_spec(string s) {
return "'" ~ s ~ "'";
}
-
string safe_install(string[] specs) {
string[] result;
foreach (record; specs) {
@@ -91,7 +90,6 @@ string safe_install(string[] specs) {
return result.join(" ");
}
-
string safe_install(string specs) {
string[] result;
foreach (record; specs.split(" ")) {
@@ -226,7 +224,7 @@ string interpolate(string[string]aa, string str, char delim = '$') {
if (pair.key != match)
continue;
s = s.replace(delim ~ pair.key, pair.value)
- .replace(format("%c{%s}", delim, pair.key), pair.value);
+ .replace(format("%c{%s}", delim, pair.key), pair.value);
}
}