Skip to content

Commit a628464

Browse files
authored
Merge pull request #8 from dcolley/master
typo in readme
2 parents dadcf0e + ef00adf commit a628464

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ First, wrap your commands into tranaction:
305305

306306
r::command_container_t tx_commands = {
307307
r::single_command_t("MULTI"),
308-
r::single_command_t("INCR", "foo"),
309-
r::single_command_t("GET", "bar"),
308+
r::single_command_t("INCR", "foo"),
309+
r::single_command_t("GET", "bar"),
310310
r::single_command_t("EXEC"),
311311
};
312312
r::command_wrapper_t cmd(tx_commands);
@@ -326,7 +326,7 @@ c.async_read(rx_buff, [&](const auto& error_code, auto&& r){
326326
assert(replies.elements.size() == 4);
327327
auto eq_OK = r::marker_helpers::equality<Iterator>("OK");
328328
auto eq_QUEUED = r::marker_helpers::equality<Iterator>("QUEUED");
329-
assert(boost::apply_visitor(eq_OK, replies.elements[0]);
329+
assert(boost::apply_visitor(eq_OK, replies.elements[0]));
330330
assert(boost::apply_visitor(eq_QUEUED, replies.elements[1]));
331331
assert(boost::apply_visitor(eq_QUEUED, replies.elements[2]));
332332

0 commit comments

Comments
 (0)