Skip to content

Commit

Permalink
Remove unused macro rules
Browse files Browse the repository at this point in the history
  • Loading branch information
alygin committed May 14, 2022
1 parent eff394a commit 34d3885
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions crossbeam-channel/tests/golang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,6 @@ macro_rules! defer {
}

macro_rules! go {
(@parse ref $v:ident, $($tail:tt)*) => {{
let ref $v = $v;
go!(@parse $($tail)*)
}};
(@parse move $v:ident, $($tail:tt)*) => {{
let $v = $v;
go!(@parse $($tail)*)
}};
(@parse $v:ident, $($tail:tt)*) => {{
let $v = $v.clone();
go!(@parse $($tail)*)
Expand All @@ -222,9 +214,6 @@ macro_rules! go {
}
})
};
(@parse $($tail:tt)*) => {
compile_error!("invalid `go!` syntax")
};
($($tail:tt)*) => {{
go!(@parse $($tail)*)
}};
Expand Down

0 comments on commit 34d3885

Please sign in to comment.