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 +}