提交 2f73b787 编写于 作者: J John Clements

looks like a cut-n-paste error in unused code

上级 764c2fe2
...@@ -355,6 +355,7 @@ macro_rules! biased_match_rec ( ...@@ -355,6 +355,7 @@ macro_rules! biased_match_rec (
_ => { $err } _ => { $err }
} }
); );
// Produce the requested values
( binds $( $bind_res:ident ),* ) => ( ($( $bind_res ),*) ) ( binds $( $bind_res:ident ),* ) => ( ($( $bind_res ),*) )
) )
...@@ -364,7 +365,7 @@ macro_rules! biased_match ( ...@@ -364,7 +365,7 @@ macro_rules! biased_match (
( $( ($e:expr) ~ ($p:pat) else $err:stmt ; )* ( $( ($e:expr) ~ ($p:pat) else $err:stmt ; )*
binds $bind_res:ident binds $bind_res:ident
) => ( ) => (
let ( $( $bind_res ),* ) = biased_match_rec!( let $bind_res = biased_match_rec!(
$( ($e) ~ ($p) else $err ; )* $( ($e) ~ ($p) else $err ; )*
binds $bind_res binds $bind_res
); );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册