summaryrefslogtreecommitdiff
path: root/dhall_core/src
diff options
context:
space:
mode:
authorNadrieril2019-04-14 22:45:22 +0200
committerNadrieril2019-04-14 22:45:22 +0200
commitd29f163e03f170a06d700ff0f62a10a489d2f058 (patch)
tree383ffafd4b6d47d160d148398cf06c7ada5bd6a4 /dhall_core/src
parent0110cdad6f61503d27535c4ae375adccd5b81012 (diff)
Rename iter_patterns to improved_slice_patterns
Diffstat (limited to 'dhall_core/src')
-rw-r--r--dhall_core/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_core/src/parser.rs b/dhall_core/src/parser.rs
index e520f05..cae6cbd 100644
--- a/dhall_core/src/parser.rs
+++ b/dhall_core/src/parser.rs
@@ -171,7 +171,7 @@ macro_rules! make_parser {
#[allow(unused_imports)]
use ParsedValue::*;
#[allow(unreachable_code)]
- let res: $o = iter_patterns::match_vec!($children;
+ let res: $o = improved_slice_patterns::match_vec!($children;
$( [$($args)*] => $body, )*
[x..] => Err(
format!("Unexpected children: {:?}", x.collect::<Vec<_>>())