From a9a09d1110e2c9a200f7b1b4c4d1f9c420fde329 Mon Sep 17 00:00:00 2001 From: rzvxa Date: Sat, 20 Jul 2024 09:11:50 +0330 Subject: [PATCH] docs: add comment to `ScopeAttr`. --- tasks/ast_codegen/src/markers.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/ast_codegen/src/markers.rs b/tasks/ast_codegen/src/markers.rs index 42872a107fca43..b7e6eb2aa9698f 100644 --- a/tasks/ast_codegen/src/markers.rs +++ b/tasks/ast_codegen/src/markers.rs @@ -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,