summaryrefslogtreecommitdiff
path: root/iter_patterns
diff options
context:
space:
mode:
authorNadrieril2019-03-31 18:47:57 +0200
committerNadrieril2019-03-31 18:47:57 +0200
commitbfe3f7f75570540fa184a133653d16e86f22667a (patch)
treeab8df2a07f38539d4731cdff9b86d9d973055f21 /iter_patterns
parentf5d2151d35942b957230c3081a928af3619d9400 (diff)
rustfmt
Diffstat (limited to 'iter_patterns')
-rw-r--r--iter_patterns/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/iter_patterns/src/lib.rs b/iter_patterns/src/lib.rs
index a4be783..53ebcd2 100644
--- a/iter_patterns/src/lib.rs
+++ b/iter_patterns/src/lib.rs
@@ -36,7 +36,8 @@ macro_rules! destructure_iter {
)
};
// Special variable length pattern with a common unary variant
- (@match_forwards, $iter:expr, ($body:expr), $variant:ident ($x:ident).., $($rest:tt)*) => {
+ (@match_forwards, $iter:expr, ($body:expr),
+ $variant:ident ($x:ident).., $($rest:tt)*) => {
$crate::destructure_iter!(@match_backwards,
$iter,
({