From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id D58BC384692F for ; Tue, 21 Feb 2023 12:04:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D58BC384692F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wr1-x42c.google.com with SMTP id bo30so3603614wrb.0 for ; Tue, 21 Feb 2023 04:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=gaLVuN1YavFfnLN4s9PtvKeadkoquklPIThye7oU5FQ=; b=b724jekWZ//1iVh14MzYTml97MQt5TqmodZPSvI2MhKGIojLrAV8NRqtB1uJZWYThm DHDETXT+aMJ+TP44LSoBM+zGuGnXG+6G0uX822eRkFLcwjYP6OTTTg31c3hJKiHSbPJI FT6oCao0a9jp93uQRsEMdric3m68zGkD/azcVS5QDTVhqzTsh8lCKZZu5RAr8HR4mE2t 4D/42v/ebhJY/O1Lb0bGTNtMWZ6pn/oteQY5wTFkAyLj/mW3QF2zHPXmCDKKAfQoznYi YZ5qDQqvbFx9bemc0iQpvsQhSxkYV+gOjawU4p+Fq8S05P2rfksGHevGsSp0so/4fOCr inJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gaLVuN1YavFfnLN4s9PtvKeadkoquklPIThye7oU5FQ=; b=Are8zQxIUtBqfwkJQt+OeN/dUjIDHU0S0t1rL9vRpNQtHHYzNeipTWcYmZeVyB7Rj0 JJEHfoe7ggat7T8g8Pa+c0711A3LDCHA83rP/o0cdSaQHkHHa6KtIBz2HWHRl4OGcHj4 6gWDdRmiXkRhUaeujLUxNW6pbJufVaoTwdjklqfI7IJM71M5dqkdOCUm3aC6AxmZ1rHQ IXalEoeJr7oa8wT/9oodA/GLcIyNOJ+c4WWsPEyro2wcdqA1u0p+28PUOiP7iHFTLMSd ykFs9P/3dXAgp+2dic6beqa9ZiL19ohSv6IdwryWQvqJZWkcVkJtC8pOoKq3qDtTgqhH QHEw== X-Gm-Message-State: AO0yUKXVHzG1EAZH0Y9VJtt5KMH+tK4cpiDXM7vYuRx50HIFNZcj8oUY 6Wx4xwuJxk0IwxlT8hReL4bHTsvxhg9hxp1Fyw== X-Google-Smtp-Source: AK7set/QolQ8dywqR0SOFyd3cU4AAOFSTklh9PrMnNbi3WMpToyeunUie9vCSa0+5NlpyEZKV5QpXA== X-Received: by 2002:adf:cf06:0:b0:2bf:d285:b787 with SMTP id o6-20020adfcf06000000b002bfd285b787mr3490301wrj.56.1676981058259; Tue, 21 Feb 2023 04:04:18 -0800 (PST) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id c15-20020adffb4f000000b002c55b0e6ef1sm5013811wrs.4.2023.02.21.04.04.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 04:04:17 -0800 (PST) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Jakub Dupak Subject: [committed 067/103] gccrs: ast: refer correctly to arguments in docs-strings Date: Tue, 21 Feb 2023 13:01:57 +0100 Message-Id: <20230221120230.596966-68-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230221120230.596966-1-arthur.cohen@embecosm.com> References: <20230221120230.596966-1-arthur.cohen@embecosm.com> Reply-To: arthur.cohen@embecosm.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-14.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: From: Jakub Dupak gcc/rust/ChangeLog: * ast/rust-ast-dump.h: Fix documentation. Signed-off-by: Jakub Dupak --- 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. */ -- 2.39.1