core: add macro_rules! for "condition! { c: in -> out; }".

This commit is contained in:
Graydon Hoare 2012-12-14 11:52:11 -08:00
parent 263136d389
commit 8e28f23c60
9 changed files with 58 additions and 35 deletions

View file

@ -19,7 +19,7 @@ use std::map::{Map, HashMap};
use io::{Reader, ReaderUtil};
macro_rules! bench (
($id:ident) => (maybe_run_test(argv, stringify!($id), $id))
($id:ident) => (maybe_run_test(argv, stringify!($id).to_owned(), $id))
)
fn main() {