about summary refs log tree commit diff
path: root/src/libregex/test/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libregex/test/mod.rs')
-rw-r--r--src/libregex/test/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libregex/test/mod.rs b/src/libregex/test/mod.rs
index 7f014b4eb68..14156647191 100644
--- a/src/libregex/test/mod.rs
+++ b/src/libregex/test/mod.rs
@@ -26,14 +26,14 @@ mod native_static;
 // Due to macro scoping rules, this definition only applies for the modules
 // defined below. Effectively, it allows us to use the same tests for both
 // native and dynamic regexes.
-macro_rules! regex(
+macro_rules! regex {
     ($re:expr) => (
         match ::regex::Regex::new($re) {
             Ok(re) => re,
             Err(err) => panic!("{}", err),
         }
     );
-)
+}
 
 #[path = "bench.rs"]
 mod dynamic_bench;