From 8babe10af7d696a80c6ae620b94cfe09e6e3c2e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=87=E4=BD=B3=E9=B9=8F?= Date: Thu, 11 Jun 2020 21:51:41 +0800 Subject: [PATCH] update add space comment --- doc/api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index 7baa756b..e5154184 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -136,7 +136,7 @@ template and implement ``parse`` and ``format`` methods:: // Parses format specifications of the form ['f' | 'e']. constexpr auto parse(format_parse_context& ctx) { - //auto parse(format_parse_context &ctx) -> decltype(ctx.begin()) //c++11 + // auto parse(format_parse_context &ctx) -> decltype(ctx.begin()) //c++11 // [ctx.begin(), ctx.end()) is a character range that contains a part of // the format string starting from the format specifications to be parsed, // e.g. in @@ -164,7 +164,7 @@ template and implement ``parse`` and ``format`` methods:: // stored in this formatter. template auto format(const point& p, FormatContext& ctx) { - //auto format(const point &p, FormatContext &ctx) -> decltype(ctx.out()) //c++11 + // auto format(const point &p, FormatContext &ctx) -> decltype(ctx.out()) //c++11 // ctx.out() is an output iterator to write to. return format_to( ctx.out(),