Skip to content

Commit d4b7d86

Browse files
committed
Move ignore_ident to macro file
1 parent 573743a commit d4b7d86

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/impl_macros.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ macro_rules! clone_fields {
2222
}
2323
}
2424
}
25+
26+
macro_rules! ignore_ident{
27+
($id:ident, $($t:tt)*) => {$($t)*};
28+
}

src/tuple_impl.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,6 @@ macro_rules! count_ident{
248248
() => {0};
249249
($i0:ident, $($i:ident,)*) => {1 + count_ident!($($i,)*)};
250250
}
251-
macro_rules! ignore_ident{
252-
($id:ident, $($t:tt)*) => {$($t)*};
253-
}
254251
macro_rules! rev_for_each_ident{
255252
($m:ident, ) => {};
256253
($m:ident, $i0:ident, $($i:ident,)*) => {

0 commit comments

Comments
 (0)