From fc58fcf9ed026d5a587d6938c2ef5c980735b1c2 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 18 Mar 2023 15:43:27 -0700 Subject: [PATCH] Fix typo in Stmt::Macro documentation --- src/stmt.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stmt.rs b/src/stmt.rs index 16e1e138f6..156801ffa1 100644 --- a/src/stmt.rs +++ b/src/stmt.rs @@ -26,8 +26,8 @@ ast_enum! { /// A macro invocation in statement position. /// /// Syntactically it's ambiguous which other kind of statement this - /// macro would expand to. It can be an of local variable (`let`), item, - /// or expression. + /// macro would expand to. It can be any of local variable (`let`), + /// item, or expression. Macro(StmtMacro), } } @@ -62,7 +62,7 @@ ast_struct! { /// A macro invocation in statement position. /// /// Syntactically it's ambiguous which other kind of statement this macro - /// would expand to. It can be an of local variable (`let`), item, or + /// would expand to. It can be any of local variable (`let`), item, or /// expression. #[cfg_attr(doc_cfg, doc(cfg(feature = "full")))] pub struct StmtMacro {