From 0c7f5c3ca4315ee4927614ef0015421a6093b9ac Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 2 Dec 2018 08:22:51 -0800 Subject: [PATCH] Update README.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index db59b610..f7474095 100644 --- a/README.rst +++ b/README.rst @@ -126,7 +126,7 @@ Formatting of user-defined types is supported via a simple template auto format(const date &d, FormatContext &ctx) { - return format_to(ctx.begin(), "{}-{}-{}", d.year, d.month, d.day); + return format_to(ctx.out(), "{}-{}-{}", d.year, d.month, d.day); } };