aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared
diff options
context:
space:
mode:
Diffstat (limited to 'askama_shared')
-rw-r--r--askama_shared/src/parser.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/askama_shared/src/parser.rs b/askama_shared/src/parser.rs
index 338bf1e..631a283 100644
--- a/askama_shared/src/parser.rs
+++ b/askama_shared/src/parser.rs
@@ -1,3 +1,7 @@
+// rustfmt doesn't do a very good job on nom parser invocations.
+#![rustfmt_skip]
+#![config_attr(rustfmt, rustfmt_skip)]
+
use nom::{self, IResult};
use std::str;