Skip to content

Commit e42ea6a

Browse files
committed
Compiled with dmd 2.087
1 parent 20dd361 commit e42ea6a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ libdredis.a
22
dub.selections.json
33
dredis.lib
44
.dub/*
5+
examples/examples

examples/examples

-1.98 MB
Binary file not shown.

source/redis/encoder.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,13 @@ alias encode = toMultiBulk;
137137
}
138138

139139
import std.string : format;
140-
return format!(C)("*%d\r\n%s", bulk_count, buffer.data);
140+
return format("*%d\r\n%s", bulk_count, buffer.data);
141141
}
142142

143143
@trusted auto toBulk(C)(const C[] str) if (isSomeChar!C)
144144
{
145145
import std.string : format;
146-
return format!(C)("$%d\r\n%s\r\n", str.length, str);
146+
return format("$%d\r\n%s\r\n", str.length, str);
147147
}
148148

149149
debug(redis) @trusted C[] escape(C)(C[] str) if (isSomeChar!C)

0 commit comments

Comments
 (0)