diff options
author | Jakub Dupak <dev@jakubdupak.com> | 2022-10-28 17:27:16 +0200 |
---|---|---|
committer | Jakub Dupak <dev@jakubdupak.com> | 2022-11-04 13:48:42 +0100 |
commit | 7486d6cda4205fd6df47caf5e9a9451f7d9f7705 (patch) | |
tree | 8b1cf1488ed516bda6a2f84ddfa055a3ddcacea2 | |
parent | 77cba0083a86c63f619b41eaf2acec61ea04d6c8 (diff) | |
download | gcc-7486d6cda4205fd6df47caf5e9a9451f7d9f7705.zip gcc-7486d6cda4205fd6df47caf5e9a9451f7d9f7705.tar.gz gcc-7486d6cda4205fd6df47caf5e9a9451f7d9f7705.tar.bz2 |
ast: refer correctly to arguments in docs-strings
Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
-rw-r--r-- | gcc/rust/ast/rust-ast-dump.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rust/ast/rust-ast-dump.h b/gcc/rust/ast/rust-ast-dump.h index fa8417d..f63c214 100644 --- a/gcc/rust/ast/rust-ast-dump.h +++ b/gcc/rust/ast/rust-ast-dump.h @@ -81,7 +81,7 @@ private: template <typename T> void visit (std::unique_ptr<T> &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. */ |