aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-11-21 20:54:24 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-11-21 20:57:56 +0100
commit9facd4cc2a37ecc6d24f0c090e560628d8b7f151 (patch)
treede6129b1598d42a76117a5597e5545bab8be7c30 /askama_shared
parent83cc6e0ca3e9878c47593ab737e6bf106ea062db (diff)
downloadaskama-9facd4cc2a37ecc6d24f0c090e560628d8b7f151.tar.gz
askama-9facd4cc2a37ecc6d24f0c090e560628d8b7f151.tar.bz2
askama-9facd4cc2a37ecc6d24f0c090e560628d8b7f151.zip
Don't restyle code in parser module
Diffstat (limited to '')
-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;