diff --git a/includes/type/fmt.pat b/includes/type/fmt.pat index b33ac57..1fad77a 100644 --- a/includes/type/fmt.pat +++ b/includes/type/fmt.pat @@ -30,7 +30,7 @@ namespace auto type { namespace impl { fn format_formatted(ref auto formatted) { - return std::format(std::format("{{0:{}}}", formatted.FormatString), formatted.value); + return std::format(formatted.FormatString, formatted.value); }; fn transform_formatted(ref auto formatted) { @@ -39,4 +39,4 @@ namespace auto type { } -} \ No newline at end of file +}