Skip to content

Commit d7b30be

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 0b855bc commit d7b30be

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
@@ -776,6 +776,8 @@ pub enum SyntaxExtensionKind {
776776
),
777777

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

0 commit comments

Comments
 (0)