From d961271c5db00c60771a09d32bb5ab9d78d716f6 Mon Sep 17 00:00:00 2001 From: BobSmun Date: Wed, 21 Aug 2024 02:33:18 +0800 Subject: [PATCH] includes/std: Fixed std::core::set_pattern_comment (#289) --- includes/std/core.pat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/std/core.pat b/includes/std/core.pat index 7134b60a..595442f8 100644 --- a/includes/std/core.pat +++ b/includes/std/core.pat @@ -159,10 +159,10 @@ namespace auto std::core { /** Changes the comment attached to a pattern @param pattern The pattern to modify - @param name The new comment of the pattern + @param comment The new comment of the pattern */ fn set_pattern_comment(ref auto pattern, str comment) { - builtin::std::core::set_pattern_comment(pattern, name); + builtin::std::core::set_pattern_comment(pattern, comment); }; /**