Skip to content

Commit

Permalink
Fix typo in Stmt::Macro documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 18, 2023
1 parent e298152 commit fc58fcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}
}
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit fc58fcf

Please sign in to comment.