From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7905) id A5E9C384DD2D; Tue, 21 Feb 2023 12:00:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A5E9C384DD2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676980855; bh=8j0WCQkECMT0DPlpsbz3NKU5o9X/au+Zd4Se48bNF1w=; h=From:To:Subject:Date:From; b=Orb9X7vf0MEHAs3+VRSM9GoJ5Od9q4DLw/BqbvlNXK7dM3gOtuNoUMH0aksgK/i1I A5Hrojims4in7buXOQc3tKPYhnCCTb2y8ke2CEf9RiqMwXcJTtv8bprA40NNWoK3te Xc6T70cpsjahT7xduiIDXU/076rCp0uuidOqlVGY= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Arthur Cohen To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-6220] gccrs: ast: refer correctly to arguments in docs-strings X-Act-Checkin: gcc X-Git-Author: Jakub Dupak X-Git-Refname: refs/heads/master X-Git-Oldrev: 3b5fb3f89b0f87659d75523337dd8ce3a55f81d0 X-Git-Newrev: a56faba96369cff44ec1ef0ec161c294d046951c Message-Id: <20230221120055.A5E9C384DD2D@sourceware.org> Date: Tue, 21 Feb 2023 12:00:55 +0000 (GMT) List-Id: https://gcc.gnu.org/g:a56faba96369cff44ec1ef0ec161c294d046951c commit r13-6220-ga56faba96369cff44ec1ef0ec161c294d046951c Author: Jakub Dupak Date: Fri Oct 28 17:27:16 2022 +0200 gccrs: ast: refer correctly to arguments in docs-strings gcc/rust/ChangeLog: * ast/rust-ast-dump.h: Fix documentation. Signed-off-by: Jakub Dupak Diff: --- gcc/rust/ast/rust-ast-dump.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/rust/ast/rust-ast-dump.h b/gcc/rust/ast/rust-ast-dump.h index 7a8058b195e..13c92123ea9 100644 --- a/gcc/rust/ast/rust-ast-dump.h +++ b/gcc/rust/ast/rust-ast-dump.h @@ -81,7 +81,7 @@ private: template void visit (std::unique_ptr &node); /** - * Visit all items in given collection, placing the separator in between but + * Visit all items in given @collection, placing the separator in between but * not at the end. * Start and end offset allow to visit only a "slice" from the collection. */ @@ -99,7 +99,7 @@ private: void visit_as_line (T &item, const std::string &trailing = ""); /** - * Visit each item in a collection "as line". + * Visit each item in @collection "as line". * * @see visit_as_line */ @@ -107,7 +107,7 @@ private: void visit_items_as_lines (T &collection, const std::string &trailing = ""); /** - * Visit each item in collection as lines inside a block delimited by braces + * Visit each item in @collection as lines inside a block delimited by braces * with increased indentation. Also includes special handling for empty * collection to print only the delimiters with no new line inside. */