From ef198cf24f71bc62e1d26447d947f55f57058b69 Mon Sep 17 00:00:00 2001 From: Nik Date: Tue, 28 Mar 2023 15:53:19 +0200 Subject: [PATCH] includes/type: Fixed Path formatter --- includes/type/path.pat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/type/path.pat b/includes/type/path.pat index e18a073..d445fdd 100644 --- a/includes/type/path.pat +++ b/includes/type/path.pat @@ -40,14 +40,14 @@ namespace type { namespace impl { - fn format_path_segment(PathSegment segment) { + fn format_path_segment(ref auto segment) { return segment.string; }; - fn format_path(Path path) { + fn format_path(ref auto path) { return std::mem::read_string($, sizeof(path)); }; } -} \ No newline at end of file +}