From 92020cfa86e728900790b761112344b1f1afba69 Mon Sep 17 00:00:00 2001
From: Chris Wong <lambda.fairy@gmail.com>
Date: Sun, 15 Mar 2015 16:42:34 +1300
Subject: [PATCH] Cleanup

---
 maud_macros/src/parse.rs | 30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

diff --git a/maud_macros/src/parse.rs b/maud_macros/src/parse.rs
index 0fba573..a3bc17b 100644
--- a/maud_macros/src/parse.rs
+++ b/maud_macros/src/parse.rs
@@ -236,22 +236,20 @@ impl<'cx, 's, 'i> Parser<'cx, 's, 'i> {
             self.shift(1);
             tts.push(tt.clone());
         }
-        loop {
-            match self.input {
-                // Munch attribute lookups e.g. `$person.address.street`
-                [ref dot @ dot!(), ref ident @ ident!(_), ..] => {
-                    self.shift(2);
-                    tts.push(dot.clone());
-                    tts.push(ident.clone());
-                },
-                // Munch function calls `()` and indexing operations `[]`
-                [TtDelimited(sp, ref d), ..] if d.delim != token::DelimToken::Brace => {
-                    self.shift(1);
-                    tts.push(TtDelimited(sp, d.clone()));
-                },
-                _ => break,
-            }
-        }
+        loop { match self.input {
+            // Munch attribute lookups e.g. `$person.address.street`
+            [ref dot @ dot!(), ref ident @ ident!(_), ..] => {
+                self.shift(2);
+                tts.push(dot.clone());
+                tts.push(ident.clone());
+            },
+            // Munch function calls `()` and indexing operations `[]`
+            [TtDelimited(sp, ref d), ..] if d.delim != token::DelimToken::Brace => {
+                self.shift(1);
+                tts.push(TtDelimited(sp, d.clone()));
+            },
+            _ => break,
+        }}
         if tts.is_empty() {
             self.render.cx.span_fatal(sp, "expected expression for this splice");
         } else {