Skip to content

Commit f2d9048

Browse files
committed
Expand documentation of GlobDelegation
I discovered this via research through the git log, and I want to leave additional guidance for future macro spelunkers.
1 parent 4b58358 commit f2d9048

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_expand/src/base.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,8 @@ pub enum SyntaxExtensionKind {
775775
),
776776

777777
/// A glob delegation.
778+
///
779+
/// This is for delegated function implementations, and has nothing to do with glob imports.
778780
GlobDelegation(Arc<dyn GlobDelegationExpander + sync::DynSync + sync::DynSend>),
779781
}
780782

0 commit comments

Comments
 (0)