From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 370D338582A0; Tue, 8 Nov 2022 09:29:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 370D338582A0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667899740; bh=EbR25JujBwGC4glNscFqSL0gg17Ml21QmhM3TJW8TYQ=; h=From:To:Subject:Date:From; b=yFdRD5dSalcmDVWHG/TsWe/9osSRQ2wF0GCno80eylc87qmhIOpOagS3XCI2tlLbB Q9u30NmnxK+WNKJZY/VQUBf5uHjB9SebQ6UYmQFj7Rux4qbBL0fWgfZr+TxtZCZPDA 3bOVl5//1/R0e9y2CgQvEpvpgvcKnVlKVeyxZRls= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] ast: refer correctly to arguments in docs-strings X-Act-Checkin: gcc X-Git-Author: Jakub Dupak X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: 77cba0083a86c63f619b41eaf2acec61ea04d6c8 X-Git-Newrev: 7486d6cda4205fd6df47caf5e9a9451f7d9f7705 Message-Id: <20221108092900.370D338582A0@sourceware.org> Date: Tue, 8 Nov 2022 09:29:00 +0000 (GMT) List-Id: https://gcc.gnu.org/g:7486d6cda4205fd6df47caf5e9a9451f7d9f7705 commit 7486d6cda4205fd6df47caf5e9a9451f7d9f7705 Author: Jakub Dupak Date: Fri Oct 28 17:27:16 2022 +0200 ast: refer correctly to arguments in docs-strings 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 fa8417d57a5..f63c214f41a 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. */