Skip to content

Commit

Permalink
chore: surpress chained macro warning (#4396)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 authored and TomAFrench committed Feb 7, 2024
1 parent c8ab095 commit c507de9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions noir/aztec_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ fn lambda(parameters: Vec<(Pattern, UnresolvedType)>, body: Expression) -> Expre
}

macro_rules! chained_path {
( $base:expr ) => {
{
ident_path($base)
}
};
( $base:expr $(, $tail:expr)* ) => {
{
let mut base_path = ident_path($base);
Expand Down

0 comments on commit c507de9

Please sign in to comment.