-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Description
In this macro:
Lines 566 to 569 in faf477a
| macro_rules! define_maps { | |
| (<$tcx:tt> | |
| $($(#[$attr:meta])* | |
| [$($modifiers:tt)*] $name:ident: $node:ident($K:ty) -> $V:ty,)*) => { |
This will make it easier to grep for a symbol without knowing whether it is a regular function or a query.
Also consider changing the name from define_maps! to define_queries! (and the module name as well?).
As discussed on IRC with @eddyb and @nikomatsakis.
eddyb and petrochenkov
Metadata
Metadata
Assignees
Labels
No labels