From: Jonathan Wakely <[email protected]>
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