Skip to content

Commit f0081fe

Browse files
authored
Merge pull request #110 from 3scale-rs/fix-matches-macro-cfg-name
util/compat: fix cfg flag for matches macro
2 parents cbbe3ef + cac724a commit f0081fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/compat/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#[cfg(not(supports_macro_matches))]
1+
#[cfg(not(supports_matches_macro))]
22
#[macro_export]
33
macro_rules! matches {
44
($expression:expr, $( $pattern:pat )|+ $( if $guard: expr )? $(,)?) => {

0 commit comments

Comments
 (0)