Update format-test.cc

Remove unnecessary comments.
This commit is contained in:
June Liu 2023-10-16 09:40:20 +08:00 committed by GitHub
parent 3b02292469
commit f1920b8148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1788,7 +1788,6 @@ FMT_BEGIN_NAMESPACE
template <> struct formatter<point> : nested_formatter<double> {
auto format(point p, format_context& ctx) const -> decltype(ctx.out()) {
return write_padded(ctx, [this, p](auto out) -> decltype(out) {
// Namespace-qualify to avoid ambiguity with std::format_to
return fmt::format_to(out, "({}, {})", nested(p.x), nested(p.y));
});
}