[COMMITTED 03/11] gccrs: Fix comment typos in rust-macro-expand.h

arthur.cohen@embecosm.com arthur.cohen@embecosm.com
Wed Dec 3 12:42:02 GMT 2025


From: Jonathan Wakely <jwakely@redhat.com>

gcc/rust/ChangeLog:

	* expand/rust-macro-expand.h: Fix typos in comment.
---
 gcc/rust/expand/rust-macro-expand.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/rust/expand/rust-macro-expand.h b/gcc/rust/expand/rust-macro-expand.h
index c3d5e7d6f80..0e79466925e 100644
--- a/gcc/rust/expand/rust-macro-expand.h
+++ b/gcc/rust/expand/rust-macro-expand.h
@@ -358,7 +358,7 @@ struct MacroExpander
    *
    * @param parser Parser to use for matching
    * @param rep Repetition to try and match
-   * @param match_amount Reference in which to store the ammount of succesful
+   * @param match_amount Reference in which to store the amount of successful
    * and valid matches
    *
    * @param lo_bound Lower bound of the matcher. When specified, the matcher
-- 
2.50.1



More information about the Gcc-rust mailing list