Unverified Commit 0c7f5c3c authored by Victor Zverovich's avatar Victor Zverovich Committed by GitHub

Update README.rst

parent e7e2ab10
......@@ -126,7 +126,7 @@ Formatting of user-defined types is supported via a simple
template <typename FormatContext>
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);
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment