Skip to content

Commit

Permalink
docs: add comment to ScopeAttr.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Jul 20, 2024
1 parent d77f7ee commit a9a09d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/ast_codegen/src/markers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ pub struct ScopeMarkers {
pub enter_before: bool,
}

/// A struct representing the `#[scope(...)]` attribute.
#[derive(Debug, Default)]
pub struct ScopeAttr {
pub r#if: Option<Expr>,
Expand Down

0 comments on commit a9a09d1

Please sign in to comment.